bump version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
## 1.3.10
|
||||
## 1.3.11
|
||||
|
||||
- Fix initialization
|
||||
|
||||
|
||||
@@ -185,12 +185,14 @@ class CountryCodePickerState extends State<CountryCodePicker> {
|
||||
} else {
|
||||
selectedItem = elements[0];
|
||||
}
|
||||
_onInit(selectedItem);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
if (widget.initialSelection != null) {
|
||||
selectedItem = elements.firstWhere(
|
||||
(e) =>
|
||||
@@ -202,6 +204,8 @@ class CountryCodePickerState extends State<CountryCodePicker> {
|
||||
selectedItem = elements[0];
|
||||
}
|
||||
|
||||
_onInit(selectedItem);
|
||||
|
||||
favoriteElements = elements
|
||||
.where((e) =>
|
||||
widget.favorite.firstWhere(
|
||||
|
||||
@@ -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.10
|
||||
version: 1.3.11
|
||||
homepage: https://github.com/imtoori/CountryCodePicker
|
||||
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user