Interact with native OS contact pickers using Flutter
Note: This plugin requires at least Kotlin 1.4.0 to compile
Web demo: https://fcp.mik.wtf/
final PhoneContact contact = await FlutterContactPicker.pickPhoneContact();
For more info read the docs or take a look at the example
- Pick a phone/email contact using the OSs native contact picker
- Pick a Full contact (except iOS)
- Support Flutter Web
If you target Android 11+ (API 30+) you need to obtain the
android.permission.READ_CONTACTS permission, which is declared as a library permission here this permission will be requested automatically if the
askForPermission parameter is true.
Obtain Full Contact (Android Only)
Note: Unlike Android iOS does not offer a way to directly get a full contact from the ContactPicker therefore this library does not support it. Apple might add it in 2030 so stay tuned
final FullContact contact = await FlutterContactPicker.pickFullContact();
Obtain profile picture
The FullContact class has a
photo property if the picked contact has an avatar. You can use the
asWidget() method to get a renderable
This plugin also supports the Web Contact Picker API.
- Allows you to interact with native contact pickers.