v0.1.3: Favorite can be one of code or dial code
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[](https://pub.dartlang.org/packages/country_code_picker)
|
||||
[](https://pub.dartlang.org/packages/country_code_picker)
|
||||
|
||||
# country_code_picker
|
||||
|
||||
@@ -19,9 +19,9 @@ Just put the component in your application setting the onChanged callback.
|
||||
body: new Center(
|
||||
child: new CountryCodePicker(
|
||||
onChanged: print,
|
||||
// Initial selection can be one of code ('IT') OR dial_code('+39')
|
||||
// Initial selection and favorite can be one of code ('IT') OR dial_code('+39')
|
||||
initialSelection: 'IT',
|
||||
favorite: ['IT','FR'],
|
||||
favorite: ['+39','FR'],
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user