country_state_selector 0.0.4
country_state_selector: ^0.0.4 copied to clipboard
A Flutter package for selecting country and state with a smooth dropdown and search functionality.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add country_state_selectorWith Flutter:
$ flutter pub add country_state_selectorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
country_state_selector: ^0.0.4Alternatively, 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_selector/country_state_selector.dart';