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