change naming

This commit is contained in:
imtoori
2019-12-09 23:11:06 +01:00
parent b75ad14347
commit 400da6b13d
2 changed files with 7 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ class _MyAppState extends State<MyApp> {
initialSelection: 'IT',
favorite: ['+39', 'FR'],
//Get the country information relevant to the initial selection
getInitialData: (code) => print("${code.name} ${code.dialCode}"),
onInit: (code) => print("${code.name} ${code.dialCode}"),
),
SizedBox(
width: 400,