Awesome Open Source
Awesome Open Source


A flutter project with Implementation of a Contacts app in 4 ways (API, Custom, Preferences and Sqflite). It consist some common operations like create, edit , search and view operations on Contacts. Contacts in this project are not linked with the contacts stored in your Smart phone.

App Demonstrating the use of Flutter and PHP.

Built With

  • Flutter - Cross Platform App Development Framework


Contacts App In App Drawer App Logo Ways Available in The App Contacts

Logs Navigation Drawer Contact Details Deleted Contacts

Edit Contact Search Contacts With Search Query Create Contact Google Place Search

How to use this App.

  • Host the sample included inside phpbackend on preferred web hosting

  • Create Tables inside your database using contacts.sql

  • If you are using your own website with the steps mentioned above edit the following constant inside constants.dart

    static const String _CONTACT_API_BASE_URL = "";

  • Make sure to edit DatabaseConnection.php and change following things If you are using the files available in phpbackend-

    private $host = "your_host"; private $db_name = "your_database_name"; private $username = "your_user_name"; private $password = "your_password";

  • Make Sure to Use your own Google Place Search API key edit the following constant inside constants.dart


Not Interested in doing above steps just clone this repo and use it as it is already hosted bingedev

Things you can learn through this project -

  1. Hero Animation from a Contact List Item to Contact Detail.
  2. Google Place Search.
  3. Right Swipe to Edit a Contact and Left Swipe to Delete a Contact.
  4. Regular Expressions.
  5. Form validations.
  6. Multiple Floating Action Button on Single Page.
  7. Starting a Page for Result.
  8. Conversion from Base64 String to Image and Image to Base64 String.
  9. Image Picking from Gallery and Camera.
  10. Call Intent Launching from Contact Details.
  11. Mail Intent Launching from Contact Details.
  12. Map Intent Launching from Contact Details
  13. Store and Retrieve values from APIs.
  14. Store and Retrieve values from Shared Preference.
  15. Store and Retrieve values from SQLite Database.
  16. Store and Retrieve values from temporary Objects.
  17. Navigation Drawer.
  18. Navigation Drawer with Multiple Type Of Views.
  19. Navigation Between Pages.
  20. Performing Operations in Background Thread.
  21. Background Operations Chaining.
  22. Integration of Rest APIs.
  23. Creation of REST APIs in PHP
  24. Serialization and DesSerialization of JSON.
  25. ProgressDialogs and SnackBar.
  26. Custom Progress Dialog & Custom Views.

Features Implemented

  • App is Working on Android and Ios Platforms.
  • App Implemented in 4 Ways For all the Operations Available in the App
    -> API = Integrate REST APIs Created In PHP Postman Collection Link for REST APIs
    -> Custom = Used Classes and Objects
    -> Preferences = Used Shared Preferences
    -> Sqflite = Used Sqlite Database
  • Rest APIs in PHP
  • Splash
  • Navigation Drawer
  • Contacts List
  • Deleted Contacts List
  • Logs
  • Create Contact
  • Contact Details
  • Edit Contact
  • Search Contacts
  • Floating Action Button
  • Hero Animation
  • Google Place Search

My Previous Flutter Project Click Here

If you are aware of Postman you can use Postman Collection for Rest API used in this repo

Helping Hands for this project

❤️ Found this project useful?

If you found this project useful, then please consider giving it a ⭐️ on Github and sharing it with your friends via social media.

Last But not Least

There are still some things which are pending in this project make a pull request to improve this project or suggest an idea to improve this project further by raising issues.

Project Maintained By

Harsh Sharma

Android Developer


Copyright 2018 Harsh Sharma

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Php (287,418
Dart (53,962
Map (32,516
Flutter (30,565
Rest (29,258
Sql (22,113
Card (18,810
Rest Api (16,485
Sqlite (9,919
Contacts (7,246
Webservices (3,321
Drawer (1,549
Postman Collection (479
Sharedpreferences (299
Navigation Drawer (285
Swipe Gestures (145
Sqflite (65
Hostinger (5
Hero Animation (3