deep_country_code_picker 0.0.9 copy "deep_country_code_picker: ^0.0.9" to clipboard
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

1
likes
140
points
30
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

deep CountryCodePicker is a Flutter package which can be used to pick select country code

Repository (GitHub)
View/report issues

Topics

#country-code-picker #country-code-selector #dialing-code-picker #dialing-code-selector

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on deep_country_code_picker