A Highly customizable Phone input Flutter widget that supports country code, validation and contact picker.
Features
Phone number with international validation
Include only specific countries
Exclude specific countries
Set a phone number using a controller (Selected country will be updated automatically)
Pick a phone number from contacts list
Getting started
Install the package extended_phone_number_input:
flutter pub add extended_phone_number_input
If you target Android 11+ (API 30+) and want to use the build-in contact picker you need to add the android.permission.READ_CONTACTS permission on the AndroidManifest.xml as this permission will be requested automatically.
Usage
A full and rich example can be found in /example folder.