city_pickers 0.1.0 copy "city_pickers: ^0.1.0" to clipboard
city_pickers: ^0.1.0 copied to clipboard

outdated

city picker, 三级联动

city_pickers #

this is china area selector.

Demo #

Getting Started #

In your flutter project add the dependency:

dependencies:
  ...
    city_pickers:^0.0.1

For help getting started with Flutter, view the online documentation.

Usage example #

Import city_pickers.dart

import 'package:city_pickers/city_pickers.dart';

Demo code to show selector

Result result = await CityPickers.showCityPicker(
  context: context,
);

CityPickers attributes #

Name Type Desc
showCityPicker Function the handle show selector

showCityPicker params #

Name Type Default Desc
context BuildContext null context
locationCode String 110000 initial location
height double 300 container height

Date Statement #

The data information come from National Bureau of Statistics

82
likes
0
pub points
93%
popularity

Publisher

unverified uploader

city picker, 三级联动

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, lpinyin

More

Packages that depend on city_pickers