Skip to content

Releases: Daniel-Ioannou/flutter_country_picker

V2.0.17

08 Nov 20:49
20f5c00
Compare
Choose a tag to compare

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

24 Aug 20:44
ba3f676
Compare
Choose a tag to compare

In this version:

  • Add support for Latvian localization
  • Add support for Lithuanian localization

V2.0.15

02 May 21:11
d7ca4b6
Compare
Choose a tag to compare

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

02 May 21:08
86db86d
Compare
Choose a tag to compare

In this version:

  • Add support for country search by phone code

V2.0.13

05 Apr 18:19
Compare
Choose a tag to compare

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

28 Feb 19:50
0bd7062
Compare
Choose a tag to compare

In this version:

  • Fix Kurdish translation for Curaçao name
  • Update example android gradle

V2.0.11

01 Feb 19:34
354ec95
Compare
Choose a tag to compare

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

19 Jan 13:38
60ed633
Compare
Choose a tag to compare

In this version

  • Add support for French localization
  • Add support for Kurdish localization

V2.0.9

22 Nov 19:51
155adba
Compare
Choose a tag to compare

In this version

  • Add support for Estonian localization

v2.0.8

13 Sep 18:56
7354592
Compare
Choose a tag to compare

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}'),
    );