cities 1.1.0 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.
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(),
);
}
}