country_selector_widget 0.0.1 country_selector_widget: ^0.0.1 copied to clipboard
This Country Selector UI Library written by Dart and Fluter and supports three locales with country's name, achieves lazy loading, and country card animation on listview. This UI Library provides Coun [...]
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.1
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';
import 'package:country_selector_widget/widgets/country_card_widget.dart';
import 'package:country_selector_widget/widgets/country_selector_bottom_sheet_widget.dart';
import 'package:country_selector_widget/widgets/country_selector_widget.dart';