CountrySelectOption constructor
const
CountrySelectOption({
- bool showCode = false,
- TextStyle countryIsoCodeTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
- TextStyle countryDialCodeTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
- TextStyle defaultTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
- String defaultText = '🏳️',
Implementation
const CountrySelectOption({
this.showCode = false,
this.countryIsoCodeTextStyle = const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
this.countryDialCodeTextStyle = const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
this.defaultTextStyle = const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
this.defaultText = '🏳️',
});