Add option to show country name only in dialog

This commit is contained in:
herovickers
2019-03-14 22:47:15 +01:00
parent 58c23c9b09
commit b1386b2a8b
4 changed files with 16 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ 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']),