diff --git a/CHANGELOG.md b/CHANGELOG.md index c4729a2..319110d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.3.7 + +- Add `customList` property + +- Add exit button in dialog + ## 1.3.6 - Add `comparator` property diff --git a/lib/country_code_picker.dart b/lib/country_code_picker.dart index e026b3c..7e491da 100644 --- a/lib/country_code_picker.dart +++ b/lib/country_code_picker.dart @@ -21,6 +21,8 @@ class CountryCodePicker extends StatefulWidget { final Function(CountryCode) builder; final bool enabled; final TextOverflow textOverflow; + + /// used to customize the country list final List customList; /// shows the name of the country instead of the dialcode diff --git a/pubspec.yaml b/pubspec.yaml index 6b02794..d44cccf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: country_code_picker description: A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search using a simple searchbox -version: 1.3.6 +version: 1.3.7 homepage: https://github.com/imtoori/CountryCodePicker environment: