CountryPicker constructor

const CountryPicker({
  1. Key? key,
  2. Country? selectedCountry,
  3. required ValueChanged<Country> onChanged,
  4. bool dense = false,
  5. bool showFlag = true,
  6. bool showDialingCode = false,
  7. bool showName = true,
  8. bool showCurrency = false,
  9. bool showCurrencyISO = false,
  10. TextStyle? nameTextStyle,
  11. TextStyle? dialingCodeTextStyle,
  12. TextStyle? currencyTextStyle,
  13. 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);