flagImage method

CountryCodeFlagWidget flagImage({
  1. BoxFit? fit,
  2. double width = 32,
  3. AlignmentGeometry alignment = Alignment.center,
})

Gets the widget that can be used on displaying the selected country's flag.

Implementation

CountryCodeFlagWidget flagImage({
  BoxFit? fit,
  double width = 32,
  AlignmentGeometry alignment = Alignment.center,
}) =>
    CountryCodeFlagWidget(
      fit: fit,
      width: width,
      countryCode: this,
      alignment: alignment,
    );