CountryPicker constructor
const
CountryPicker({
- Key? key,
- Country? selectedCountry,
- required ValueChanged<
Country> onChanged, - bool dense = false,
- bool showFlag = true,
- bool showDialingCode = false,
- bool showName = true,
- bool showCurrency = false,
- bool showCurrencyISO = false,
- TextStyle? nameTextStyle,
- TextStyle? dialingCodeTextStyle,
- TextStyle? currencyTextStyle,
- TextStyle? currencyISOTextStyle,
Implementation
const CountryPicker({
Key? key,
this.selectedCountry,
required this.onChanged,
this.dense = false,
this.showFlag = true,
this.showDialingCode = false,
this.showName = true,
this.showCurrency = false,
this.showCurrencyISO = false,
this.nameTextStyle,
this.dialingCodeTextStyle,
this.currencyTextStyle,
this.currencyISOTextStyle,
}) : super(key: key);