Add option to show country name only in dialog
This commit is contained in:
@@ -24,7 +24,6 @@ class _MyAppState extends State<MyApp> {
|
|||||||
body: new Center(
|
body: new Center(
|
||||||
child: new CountryCodePicker(
|
child: new CountryCodePicker(
|
||||||
onChanged: print,
|
onChanged: print,
|
||||||
showCountryOnly: true,
|
|
||||||
// Initial selection and favorite 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',
|
initialSelection: 'IT',
|
||||||
favorite: ['+39', 'FR']),
|
favorite: ['+39', 'FR']),
|
||||||
|
|||||||
Reference in New Issue
Block a user