AdvanceCountryPicker class
Methods
-
getCountryByCountryCode(String countryCode)
→ Future<Country?>
-
-
getCountryByCountryName(String countryName)
→ Future<Country?>
-
-
getCountryByDialCode(String dialCode)
→ Future<Country?>
-
-
getCountryByNationality(String nationality)
→ Future<Country?>
-
-
loadCountries({List<String> filterCountries = const []})
→ Future<List<Country>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
showCountryPickerDialog(BuildContext context, {Widget? title, double cornerRadius = 20, bool focusSearchBox = false, List<String> filteredCountries = const [], TextStyle itemTextStyle = const TextStyle(fontSize: 16), TextStyle searchInputStyle = const TextStyle(fontSize: 16), InputDecoration? searchInputDecoration, double flagIconWidth = 32, double flagIconHeight = 22, bool showSeparator = false, String searchHintText = "Search country name, code"})
→ Future<Country?>
-
-
showCountryPickerSheet(BuildContext context, {Widget? title, Widget? cancelWidget, double cornerRadius = 25, bool focusSearchBox = false, double heightFactor = 0.9, List<String> filteredCountries = const [], TextStyle itemTextStyle = const TextStyle(fontSize: 16), TextStyle searchInputStyle = const TextStyle(fontSize: 16), InputDecoration? searchInputDecoration, double flagIconWidth = 32, double flagIconHeight = 22, bool showSeparator = false, String searchHintText = "Search country name, code"})
→ Future<Country?>
-
-
toString()
→ String
-
A string representation of this object.
inherited