country_state_picker 0.1.0
country_state_picker: ^0.1.0 copied to clipboard
A Package for Selecting Countries and States from a Dropdown Field. Compactible with IOS,ANDROID AND WEB. Feel free to make PR's and suggestions.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add country_state_pickerWith Flutter:
$ flutter pub add country_state_pickerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
country_state_picker: ^0.1.0Alternatively, your editor might support dart pub get or 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_picker/country_state_picker.dart';