countries_list 0.1.3 countries_list: ^0.1.3 copied to clipboard
Just list of countries, and that's all (ISO-3166 Country and Dependent Territories Lists with UN Regional Codes). Contains phone codes, flags emoji, alpha1, alpha2 etc. You can use it for creating you [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add countries_list
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
countries_list: ^0.1.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:countries_list/countries_list.dart';