update dependency
This commit is contained in:
@@ -125,48 +125,39 @@ class _MyAppState extends State<MyApp> {
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 60,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: CountryCodePicker(
|
||||
onChanged: print,
|
||||
hideMainText: true,
|
||||
showFlagMain: true,
|
||||
showFlag: false,
|
||||
initialSelection: 'TF',
|
||||
hideSearch: true,
|
||||
showCountryOnly: true,
|
||||
showOnlyCountryWhenClosed: true,
|
||||
alignLeft: true,
|
||||
),
|
||||
child: CountryCodePicker(
|
||||
onChanged: print,
|
||||
hideMainText: true,
|
||||
showFlagMain: true,
|
||||
showFlag: false,
|
||||
initialSelection: 'TF',
|
||||
hideSearch: true,
|
||||
showCountryOnly: true,
|
||||
showOnlyCountryWhenClosed: true,
|
||||
alignLeft: true,
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 400,
|
||||
height: 60,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: CountryCodePicker(
|
||||
onChanged: (e) => print(e.toLongString()),
|
||||
initialSelection: 'TF',
|
||||
showCountryOnly: true,
|
||||
showOnlyCountryWhenClosed: true,
|
||||
favorite: ['+39', 'FR'],
|
||||
),
|
||||
child: CountryCodePicker(
|
||||
onChanged: (e) => print(e.toLongString()),
|
||||
initialSelection: 'TF',
|
||||
showCountryOnly: true,
|
||||
showOnlyCountryWhenClosed: true,
|
||||
favorite: ['+39', 'FR'],
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 100,
|
||||
height: 60,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: CountryCodePicker(
|
||||
enabled: false,
|
||||
onChanged: (c) => c.name,
|
||||
initialSelection: 'TF',
|
||||
showCountryOnly: true,
|
||||
showOnlyCountryWhenClosed: true,
|
||||
favorite: ['+39', 'FR'],
|
||||
),
|
||||
child: CountryCodePicker(
|
||||
enabled: false,
|
||||
onChanged: (c) => c.name,
|
||||
initialSelection: 'TF',
|
||||
showCountryOnly: true,
|
||||
showOnlyCountryWhenClosed: true,
|
||||
favorite: ['+39', 'FR'],
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user