country_state_city_pro 0.0.2 country_state_city_pro: ^0.0.2 copied to clipboard
A new Flutter package to get world's all of Country, State, and City. And items are also searchable. In addition if city can't be found then user manually write city on dialog window.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add country_state_city_pro
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
country_state_city_pro: ^0.0.2
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:country_state_city_pro/country_state_city_pro.dart';