fix localization

This commit is contained in:
Salvatore Giordano
2020-03-08 23:30:49 +01:00
parent d17678dc8d
commit 28e5cd8a7f
5 changed files with 33 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ class _MyAppState extends State<MyApp> {
padding: const EdgeInsets.all(8.0),
child: CountryCodePicker(
enabled: false,
onChanged: print,
onChanged: (c) => c.name,
initialSelection: 'TF',
showCountryOnly: true,
showOnlyCountryWhenClosed: true,