flutter_simple_country_picker library

Classes

Country
The country entity that has all the country information needed from the flutter_simple_country_picker
CountryInputFormatter
Country input formatter.
CountryLocalizations
CountryLocalizations
CountryPhoneInput
CountryPhoneInput widget.
CountryPhoneInput$Extended
CountryPhoneInput$Extended widget. CountryPhoneInput widget.
CountryPickerTheme
Custom country picker theme.
CountryScope
CountryScope widget.
CountryState
Countries state.
InheritedCountryPickerTheme
Alternative way of defining CountryPickerTheme.

Enums

CountryInputCompletionType
Country input completion type.

Functions

showCountryPicker({required BuildContext context, List<String>? exclude, List<String>? favorite, List<String>? filter, SelectCountryCallback? onSelect, SelectedCountry? selected, VoidCallback? onDone, VoidCallback? whenComplete, bool autofocus = false, bool isDismissible = true, bool isScrollControlled = true, bool showPhoneCode = false, bool showWorldWide = false, bool useAutofocus = false, bool useHaptickFeedback = true, bool useRootNavigator = false, bool useSafeArea = true, bool? showSearch}) → void
Shows a bottom sheet containing a list of countries to select one.

Typedefs

SelectCountryCallback = ValueChanged<Country>
Select country callback.
SelectedCountry = ValueNotifier<Country?>
Selected country notifier.