country_selector_widget 0.0.5 country_selector_widget: ^0.0.5 copied to clipboard
Country Selector Widget provides CountrySelectorWidget and showCountrySelectorBottomSheet to fulfill the needed usage.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add country_selector_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
country_selector_widget: ^0.0.5
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_selector_widget/const/country.dart';
import 'package:country_selector_widget/const/enum.dart';
import 'package:country_selector_widget/country_selector.dart';
import 'package:country_selector_widget/data/coutnry_list.dart';
import 'package:country_selector_widget/util/text_util.dart';