CountryPickerDialog constructor
const
CountryPickerDialog({
- Key? key,
- required List<
Country> countryList, - required ValueChanged<
Country> onCountryChanged, - required Country selectedCountry,
- required List<
Country> filteredFavoriteCountries, - required bool disableCountryCode,
- required Position favoriteCountryCodePosition,
- required Position countryCodePosition,
- required Position favoriteIconPosition,
- required bool showDialogCountryFlag,
- bool enableFavoriteIcon = true,
- bool rltSupport = true,
- String languageCode = 'en',
- List<
String> favorite = const [], - PickerDialogStyle? style,
- Widget? favoriteIcon,
Implementation
const CountryPickerDialog({
super.key,
required this.countryList,
required this.onCountryChanged,
required this.selectedCountry,
required this.filteredFavoriteCountries,
required this.disableCountryCode,
required this.favoriteCountryCodePosition,
required this.countryCodePosition,
required this.favoriteIconPosition,
required this.showDialogCountryFlag,
this.enableFavoriteIcon = true,
this.rltSupport = true,
this.languageCode = 'en',
this.favorite = const [],
this.style,
this.favoriteIcon,
});