Releases: Daniel-Ioannou/flutter_country_picker
Releases · Daniel-Ioannou/flutter_country_picker
V2.0.17
In this version:
- Add option to hide search bar
showCountryPicker( context: context, showSearch: false, onSelect: (Country country) => print('Select country: ${country.displayName}'), );
- Add
searchTextStyle
showCountryPicker( context: context, countryListTheme: CountryListThemeData( searchTextStyle: TextStyle( // Optional. Styles the text in the search field color: Colors.blue, fontSize: 18, ), ), onSelect: (Country country) => print('Select country: ${country.displayName}'), );
- Removed the need of
worldwide.png
and changed to '🌍' emoji
V2.0.16
In this version:
- Add support for Latvian localization
- Add support for Lithuanian localization
V2.0.15
In this version:
- Implemented Country Service
- Add support for German localization
- Add
favorite
option.- Can be used to to show the favorite countries at the top of the list.
- It takes a list of country code(iso2).
showCountryPicker( context: context, favorite: <String>['SE', 'MC'], onSelect: (Country country) { print('Select country: ${country.displayName}'); }, );
- Fix package assets
V2.0.14
In this version:
- Add support for country search by phone code
V2.0.13
In this version:
- Add getter for flag emoji in
Country
model - Add option for bottom sheet height.
showCountryPicker( context: context, countryListTheme: CountryListThemeData( bottomSheetHeight: 500, // Optional. Country list modal height ), onSelect: (Country country) => print('Select country: ${country.displayName}'), );
V2.0.12
In this version:
- Fix Kurdish translation for Curaçao name
- Update example android gradle
V2.0.11
In this version:
- Fix Eswatini name
- Fix Italy code at Turkish localization
- Add optional argument for showing "World Wide" option at the beginning of the list
showCountryPicker( context: context, showWorldWide: true, onSelect: (Country country) => print('Select country: ${country.displayName}'), );
v2.0.10
In this version
- Add support for French localization
- Add support for Kurdish localization
V2.0.9
In this version
- Add support for Estonian localization
v2.0.8
In this version:
- Add support for Arabic localization
- Add support for Croatian localization
- Add options to autofocus at search TextField.
showCountryPicker( context: context, searchAutofocus: true, onSelect: (Country country) => print('Select country: ${country.displayName}'), );