pub_countries 0.0.1 copy "pub_countries: ^0.0.1" to clipboard
pub_countries: ^0.0.1 copied to clipboard

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

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
150
pub points
27%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, equatable

More

Packages that depend on pub_countries