csc_picker_i18n 0.2.8 csc_picker_i18n: ^0.2.8 copied to clipboard
[i18n support] A flutter package to display list of Countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add csc_picker_i18n
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
csc_picker_i18n: ^0.2.8
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:csc_picker_i18n/csc_picker.dart';
import 'package:csc_picker_i18n/dropdown_with_search.dart';
import 'package:csc_picker_i18n/i18n/country_localization.dart';
import 'package:csc_picker_i18n/model/select_status_model.dart';