flutter_country_picker library
Classes
- Country
- A country definition with image asset, dialing code and localized name.
- CountryPicker
- The country picker widget exposes an dialog to select a country from a pre defined list, see Country.ALL
Functions
-
showCountryPicker(
{required BuildContext context, required Country defaultCountry}) → Future< Country?> -
Display a Dialog with the country list to selection
you can pass and
defaultCountry
, see Country.findByIsoCode