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

outdated

Flutter plugin for city picker, Popups widgets, call by function, supoort china areas for the moment.

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

87
likes
0
pub points
93%
popularity

Publisher

unverified uploader

Flutter plugin for city picker, Popups widgets, call by function, supoort china areas for the moment.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, lpinyin

More

Packages that depend on city_pickers