WorldPickerIcon constructor
const
WorldPickerIcon({})
Creates a WorldPickerIcon widget.
The onSelect
callback is required and will be called when a user
selects a country from the picker dialog.
Implementation
const WorldPickerIcon({
super.key,
required this.onSelect,
this.selectedCountry,
this.size = 32.0,
this.showIsoCode = false,
this.showName = false,
this.showCurrencyCode = false,
this.showDialCode = false,
this.defaultCountryIsoCode = 'US',
this.options = const WorldPickerOptions(),
});