city_picker_china 0.1.0 city_picker_china: ^0.1.0 copied to clipboard
Flutter china city picker, use the dataset from baidu map updated on 202104.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add city_picker_china
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
city_picker_china: ^0.1.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:city_picker_china/city_picker_china.dart';