CountryFlag constructor
const
CountryFlag({
- Key? key,
- required Country? country,
- CountryFlagMode mode = CountryFlagMode.emoji,
- CountryFlagStyle style = const CountryFlagStyle(),
- String unknownFlag = '🏳️',
- String svgUrlBuilder(
- String countryCode
- CountryFlagSvgBuilder? svgBuilder,
- String? semanticsLabel,
Implementation
const CountryFlag({
super.key,
required this.country,
this.mode = CountryFlagMode.emoji,
this.style = const CountryFlagStyle(),
this.unknownFlag = '🏳️',
this.svgUrlBuilder,
this.svgBuilder,
this.semanticsLabel,
});