cities 1.1.0 copy "cities: ^1.1.0" to clipboard
cities: ^1.1.0 copied to clipboard

A dataset containing 2.6 million cities that can be used by benchmarks or demos. Zero third party dependencies and completely self-contained.

example/example.dart

import 'package:cities/cities.dart';

Future<void> main() async {
  final cities = await cities_auto_eager();
  final first_ten_cities = cities.take(10);
  for (final city in first_ten_cities) {
    print(
      city.debug_string(),
    );
  }
}
6
likes
130
points
52
downloads

Publisher

verified publishermodulovalue.com

Weekly Downloads

A dataset containing 2.6 million cities that can be used by benchmarks or demos. Zero third party dependencies and completely self-contained.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on cities