deep_country_code_picker 0.0.9
deep_country_code_picker: ^0.0.9 copied to clipboard
deep CountryCodePicker is a Flutter package which can be used to pick select country code
What is DeepCountryCodePicker?
It’s a Flutter package which can be used to pick country codes, it requires a minimal amount of code to customize menu items and selected item.
Features #
Can be customize the selected and listed items.

Installing #
Add DeepCountryCodePicker to your pubspec.yaml file:
dependencies:
deep_country_code_picker:
Import CountryCodePicker
in files that it will be used:
import 'package:deep_country_code_picker/deep_country_code_picker.dart';
Usage #
For sample code look in /example
folder.
CountryCodePicker(
selectedItemBuilder: (context, item) => Text(item.flag),
menuItemBuilder: (context, item) => Text(item.name),
)
Pass null
in selectedItemBuilder
and selectedItemBuilder
to get default style.
Validate Phone Numbers #
final bool validation = CountryCodePicker.validateMobile(phoneNumber);
Using this method we can validate international phone number
Additional information #
This package is in its early development stage