cMardc / contactsApp

A basic contacts app made with flutter framework.

Home Page:https://cmardc.github.io/contactsApp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alt text

Static Badge GitHub all releases

A very basic mobile app that made with flutter.

Alt text


Installation

You can easily download .apk file from our download page.

Get all source files with:

Alt text


Build And Run

Alt text


Features

  • It's an app that allows you to save your contacts and their numbers.
  • You can edit names and numbers in your contact list.
  • Your data is securely stored within the app.
  • The app efficiently manages and stores your data with almost no limits.
  • The app is coded in Flutter, with every error fixed.
  • It does not connect to any external database or network.
  • It saves your data on your own device

  • Screenshots

    Alt text Alt text Alt text

    How it works

    As we discussed before, this app saves user data on their local device. The data app stores are list of contacts and background color.

    This is possible with shared preferences package. This package allows developers to store data in local device.

    Let's look at an example here:

    Alt text

    But it's always better to make code better. Let's create a class that will handle these for us:

    Alt text

    But, this can give us error sometimes. For example, if we don't set a value for tag 'name' and try to get it, this will give us an error. So, it's preferred to use it in a try & catch block:

    Alt text

    Other important thing that helped me build this app is url launcher package. This package allows us to redirect user to different pages.

    Now, you maybe asked that why do i need to send user to a website? Actually, i don't. This package can redirect to different apps on mobile. The One I Used is 'tel'. This tag redirects to phone app in mobile devices which user can call the number of contact.

    Here's an example:

    Alt text

    Now, in app we can see that contacts are stored like : '$(name) + " : " + $(number)'. So, we'll have to extract number from that string:

    Alt text

    Made by ~cM

    Other links :
    Discord

    Discord

About

A basic contacts app made with flutter framework.

https://cmardc.github.io/contactsApp/


Languages

Language:Dart 37.2%Language:C++ 27.8%Language:CMake 22.5%Language:HTML 4.4%Language:CSS 3.8%Language:Swift 2.4%Language:C 1.7%Language:Kotlin 0.1%Language:Objective-C 0.0%