flutter_country_utility 3.0.1 flutter_country_utility: ^3.0.1 copied to clipboard
Flutter extension function by using country, generated country class by using countries.
flutter_country_utility #
Flutter extension function by using country, generated country class by using countries.
Getting Started #
Install #
Add the following lines in your pubspec.yaml file
dependencies:
country: ^latest_version
API #
Short name by locale
String shortName = Countries.hkg.getIsoShortNameByLocale(const Locale('zh', 'HK'));
String getShortNameByLocale(Country country) {
return country.getIsoShortNameByLocale(const Locale('zh', 'HK'));
}