CountryCodeChip constructor
CountryCodeChip({
- Key? key,
- required IsoCode isoCode,
- TextStyle textStyle = const TextStyle(),
- bool showFlag = true,
- bool showDialCode = true,
- EdgeInsets padding = const EdgeInsets.all(20),
- double flagSize = 20,
- TextDirection? textDirection,
- bool showIsoCode = false,
Implementation
CountryCodeChip({
super.key,
required IsoCode isoCode,
this.textStyle = const TextStyle(),
this.showFlag = true,
this.showDialCode = true,
this.padding = const EdgeInsets.all(20),
this.flagSize = 20,
this.textDirection,
this.showIsoCode = false,
}) : country = Country(isoCode, '');