September 2019
Beginner
512 pages
12h 52m
English
The contact_picker plugin is suitable for the task, and we will be using this to import contact into the favor request phase.
The first step is to include the plugin as a dependency in pubspec.yaml file and run the flutter packages get command as well:
dependencies: contact_picker: ^0.0.2
Then, we need to change the Request a favor screen. We add an Import button to the right side of the friend's drop-down list:

In the onPressed action of the import button, we are going to redirect the user to the contacts screen so they can select a contact.
Let's take a look at the code. First, we add two fields ...
Read now
Unlock full access