Skip to content

Releases: Daniel-Ioannou/flutter_country_picker

v1.1.1

24 Sep 19:21
a4e0080
Compare
Choose a tag to compare

In this version:

  • Search on localizations.

v1.1.0

19 Sep 12:49
5400d90
Compare
Choose a tag to compare

In this version:

Implement localization.

Add the CountryLocalizations.delegate in the list of your app delegates.

MaterialApp(
      supportedLocales: [
        const Locale('en'),
        const Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hans'), // Generic Simplified Chinese 'zh_Hans'
        const Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant'), // Generic traditional Chinese 'zh_Hant'
      ],
      localizationsDelegates: [
        CountryLocalizations.delegate,
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      home: HomePage(),
 );

Supported languages:

  • English
  • Simplified Chinese
  • Traditional Chinese

v1.0.5

31 Aug 20:40
1a6daba
Compare
Choose a tag to compare

In this version:

  • Update documentation.

v1.0.4

27 Aug 18:00
1f9d0c9
Compare
Choose a tag to compare

In this version:

  • Implement search.

v1.0.3

22 Aug 20:32
79e23ad
Compare
Choose a tag to compare

In this version

  • Add show phone code option.

v1.0.2

18 Aug 19:28
20a74a0
Compare
Choose a tag to compare

In this version:

  • Add exclude countries option.
showCountryPicker(
   context: context,
   exclude: <String>['KN', 'MF'], //It takes a list of country code(iso2).
   onSelect: (Country country) => print('Select country: ${country.displayName}'),
);

v1.0.1

12 Aug 13:25
Compare
Choose a tag to compare

In this version:

  • Add documentation.

v1.0.0

11 Aug 11:58
Compare
Choose a tag to compare

In this version:

  • Initial developers preview release.