Add option to show country name only in dialog

This commit is contained in:
herovickers
2019-03-14 23:20:39 +01:00
parent b1386b2a8b
commit 28daaabaf8

View File

@@ -24,7 +24,6 @@ class _MyAppState extends State<MyApp> {
body: new Center(
child: new CountryCodePicker(
onChanged: print,
showCountryOnly: true,
// Initial selection and favorite can be one of code ('IT') OR dial_code('+39')
initialSelection: 'IT',
favorite: ['+39', 'FR']),