CountryPicker constructor

const CountryPicker({
  1. Key? key,
  2. required Country selectedCountry,
  3. required ValueChanged<Country> onChanged,
  4. bool dense = true,
  5. bool showLine = false,
  6. bool showFlag = true,
  7. bool showFlagCircle = false,
  8. bool showDialingCode = false,
  9. bool showName = true,
  10. bool showCurrency = false,
  11. bool showCurrencyISO = false,
  12. TextStyle? nameTextStyle,
  13. TextStyle? dialingCodeTextStyle,
  14. TextStyle? currencyTextStyle,
  15. Color? colorArrow,
  16. TextStyle? currencyISOTextStyle,
  17. bool isNationality = false,
  18. bool withBottomSheet = false,
  19. 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);