CountryCodeFlagWidget constructor

const CountryCodeFlagWidget({
  1. required double width,
  2. required AlignmentGeometry alignment,
  3. required CountryCode countryCode,
  4. BoxFit? fit,
  5. Key? key,
})

Widget that can be used on retrieving the flag's image.

Implementation

const CountryCodeFlagWidget({
  required this.width,
  required this.alignment,
  required this.countryCode,
  this.fit,
  super.key,
});