chinese_cities 0.0.1
chinese_cities: ^0.0.1 copied to clipboard

A pure Dart libraries include chinese cities base on http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2020.

A pure Dart libraries include chinese cities base on 2020 National Bureau of Statistics

Usage #

A simple usage example:

import 'package:chinese_cities/chinese_cities.dart';

main() {
  print(cities);
  ChineseCities.getProvinceByName('浙江');
  ChineseCities.getCityByName('辖');
  ChineseCities.getCountyByName('东城');
}

Extra #

  • package core code generated by chinese_cities_fetch(not release yet)

Features and bugs #

Please file feature requests and bugs at the [issue tracker][tracker].

0
likes
125
pub points
12%
popularity

Publisher

laihz.tech

A pure Dart libraries include chinese cities base on http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2020.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on chinese_cities