getDefaultFlagImage static method
Implementation
static Widget getDefaultFlagImage(Country? country) {
if (country != null) {
return Image.asset(
CountryPickerUtils.getFlagImageAssetPath(country.isoCode),
height: 20.0,
width: 30.0,
fit: BoxFit.fill,
package: "country_pickers",
);
}
return Container();
}