country_list_pick_with_nation 2.0.3 country_list_pick_with_nation: ^2.0.3 copied to clipboard
Flutter plugin project to pick country code, will show code country, dial code, flag country, and name country.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add country_list_pick_with_nation
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
country_list_pick_with_nation: ^2.0.3
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_list_pick_with_nation/country_list_pick.dart';
import 'package:country_list_pick_with_nation/country_selection_theme.dart';
import 'package:country_list_pick_with_nation/selection_list.dart';
import 'package:country_list_pick_with_nation/support/code_countries_en.dart';
import 'package:country_list_pick_with_nation/support/code_country.dart';
import 'package:country_list_pick_with_nation/support/code_countrys.dart';
import 'package:country_list_pick_with_nation/support/code_nationalities.dart';
import 'package:country_list_pick_with_nation/support/code_nationalities_en.dart';