country_phone_picker library

Classes

BottomSheetConfig
Controls the appearance of the country picker bottom sheet.
CountryModel
CountryPhonePicker
CountryPhonePickerBottomSheet
CountryPickerLocalizations
SearchConfig
Controls the appearance and behavior of the search field inside the country picker bottom sheet.

Functions

countriesForIsoCodes(List<String>? isoCodes) → List<CountryModel>
Countries matching isoCodes, in caller order.
findCountryByIsoCode(String isoCode) → CountryModel?
Looks up a country by ISO 3166-1 alpha-2 code (case-insensitive).

Typedefs

CountryPhonePickerBottomSheetConfig = BottomSheetConfig
Former name of BottomSheetConfig.
CountrySearchMatcher = bool Function(CountryModel country, String query)
Signature used to override how a country is matched against a search query.