Fixed the Issue #43.
Country name attached to flag, no padding, in RTL languages SearchDialog #43 RTL language issue
This commit is contained in:
@@ -104,17 +104,14 @@ class MyAppState extends State<MyApp> {
|
||||
onChanged: print,
|
||||
// Initial selection and favorite can be one of code ('IT') OR dial_code('+39')
|
||||
initialSelection: 'IT',
|
||||
favorite: const ['+39', 'FR'],
|
||||
countryFilter: const ['IT', 'FR'],
|
||||
showFlagDialog: false,
|
||||
//You can set the margin between the flag and the country name to your taste.
|
||||
margin: const EdgeInsets.symmetric(horizontal: 6),
|
||||
comparator: (a, b) => b.name!.compareTo(a.name!),
|
||||
//Get the country information relevant to the initial selection
|
||||
onInit: (code) => debugPrint(
|
||||
"on init ${code?.name} ${code?.dialCode} ${code?.name}"),
|
||||
onInit: (code) => debugPrint("on init ${code?.name} ${code?.dialCode} ${code?.name}"),
|
||||
),
|
||||
CountryCodePicker(
|
||||
hideHeaderText: true,
|
||||
onChanged: print,
|
||||
// Initial selection and favorite can be one of code ('IT') OR dial_code('+39')
|
||||
initialSelection: 'IT',
|
||||
|
||||
Reference in New Issue
Block a user