dart_countries 2.0.0 copy "dart_countries: ^2.0.0" to clipboard
dart_countries: ^2.0.0 copied to clipboard

discontinued
outdated

A set of informations about countries. Contains various maps and isoCodes.

dart_countries #

A set of informations about countries. Contains various maps and isoCodes.

Maps #

You can use the maps to only import the information that you need

  • countriesName[IsoCode.US]
  • countriesNative[IsoCode.FR] // native name
  • countriesContinent[IsoCode.ES]
  • countriesCapital[IsoCode.FR]
  • countriesCurrencyCode[IsoCode.US]
  • countriesFlag[IsoCode.US] // unicode flag wont display on windows yet
  • countriesLanguages[IsoCode.US]
  • countriesDialcode[IsoCode.FR]

Country class #

Alternatively you can use the country class that contains all the info (less tree shaking).

  countries.forEach((country) {
    if (country.currencyCode == 'USD') print(country.name);
  });

  print(Country(IsoCode.US).currencyCode);
6
likes
0
pub points
85%
popularity

Publisher

unverified uploader

A set of informations about countries. Contains various maps and isoCodes.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dart_countries