Skip to content

Releases: Daniel-Ioannou/flutter_country_picker

v2.0.6

02 Jul 19:06
34f6b6a
Compare
Choose a tag to compare

In this version:

  • Add support for Nepali and Hindi localization

v2.0.5

01 Jun 06:32
9975aad
Compare
Choose a tag to compare

In this version:

  • Add styling options for the border-radius and the search field.
    showCountryPicker(
      context: context,
      countryListTheme: CountryListThemeData(
        // Optional. Sets the border radius for the bottomsheet.
        borderRadius: BorderRadius.only(
          topLeft: Radius.circular(40.0),
          topRight: Radius.circular(40.0),
        ),
        // Optional. Styles the search field.
        inputDecoration: InputDecoration(
          labelText: 'Search',
          hintText: 'Start typing to search',
          prefixIcon: const Icon(Icons.search),
          border: OutlineInputBorder(
            borderSide: BorderSide(
              color: const Color(0xFF8C98A8).withOpacity(0.2),
            ),
          ),
        ),
      ),
      onSelect: (Country country) => print('Select country: ${country.displayName}'),
    );

v2.0.4

12 Apr 17:55
ac14b40
Compare
Choose a tag to compare

In this version:

  • Add CountryParser

v2.0.3

30 Mar 18:52
174b685
Compare
Choose a tag to compare

In this version:

  • Add Ukrainian, Russian, and Polish translations
  • Add onClosed callback

v2.0.2

30 Mar 18:51
Compare
Choose a tag to compare

In this version:

  • Add support for Norwegian localization

v2.0.1

15 Mar 19:04
Compare
Choose a tag to compare

In this version:

  • Implemented country list theme
    showCountryPicker(
      context: context,
      countryListTheme: CountryListThemeData(
        flagSize: 25,
        backgroundColor: Colors.white,
        textStyle: TextStyle(fontSize: 16, color: Colors.blueGrey),
      ),
      onSelect: (Country country) {
        print('Select country: ${country.displayName}');
      },
    );

v2.0.0

09 Mar 21:00
09880d5
Compare
Choose a tag to compare

In this version:

  • Migrated to null safety

v1.1.4

18 Feb 21:21
896bf11
Compare
Choose a tag to compare

In this version:

  • Add support for Spanish and Portuguese localization.
  • If showPhoneCode is false remove duplicates country

v1.1.3

10 Dec 21:02
cd0ddbb
Compare
Choose a tag to compare

In this version:

  • Localize label and hint of search text field

v1.1.2

11 Oct 13:30
701a88b
Compare
Choose a tag to compare

In this version:

  • Add support for Greek localization.
  • At search change contains to startsWith.
  • Add country filter option.
    • Can be used to uses filter the countries list (optional).
    • It takes a list of country code(iso2).
    • Can't provide both exclude and countryFilter
     showCountryPicker(
       context: context,
       countryFilter: <String>['AT', 'GB', 'DK', 'DE', 'FR', 'GR'], //It takes a list of country code(iso2).
       onSelect: (Country country) => print('Select country: ${country.displayName}'),
     );