CountryCodeChip constructor

CountryCodeChip({
  1. Key? key,
  2. required IsoCode isoCode,
  3. TextStyle countryCodeTextStyle = const TextStyle(),
  4. bool showFlag = true,
  5. double flagSize = 20,
  6. BoxShape flagShape = BoxShape.circle,
  7. TextDirection? textDirection,
  8. bool showArrow = true,
  9. bool isListVisible = false,
})

Implementation

CountryCodeChip({
  super.key,
  required IsoCode isoCode,
  this.countryCodeTextStyle = const TextStyle(),
  this.showFlag = true,
  this.flagSize = 20,
  this.flagShape = BoxShape.circle,
  this.textDirection,
  this.showArrow = true,
  this.isListVisible = false,
}) : country = Country(isoCode, '');