pub_countries 0.0.2-pre copy "pub_countries: ^0.0.2-pre" to clipboard
pub_countries: ^0.0.2-pre copied to clipboard

outdated

It's a simple package to help does handler with countries around world.

It's a simple package to help does handler with countries in [Dart] language and [Flutter] Framework.

Usage #

Countries class #

Can access all countries saved and methods to use them.

It's one of most important class in the package.

print(Countries.brazil) /// Country(Brazil, BR, +55, Continent.southAmerica)

Methods

toList - makes a country List of all countries saved;

getByAlpha2 get a country by country alpha2 code;

getDialingCode get a country by country dialing code;

getByContinent - get countries by continent;

getByName - get a country by country name;

2
likes
0
pub points
27%
popularity

Publisher

unverified uploader

It's a simple package to help does handler with countries around world.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, equatable

More

Packages that depend on pub_countries