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