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.

example/pub_countries_example.dart

import 'package:pub_countries/pub_countries.dart';

void main() {
  final allCountries = Countries.toList();

  print("=== All countries ===");

  allCountries.map((e) => print(e)).toList();

  final countriesByContinent = Countries.getByContinent(Continent.europe);

  print("=== Countries by continent ===");

  countriesByContinent.map((e) => print(e)).toList();
}
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