country_dial_code 1.1.2 copy "country_dial_code: ^1.1.2" to clipboard
country_dial_code: ^1.1.2 copied to clipboard

This package allows you to get the dialing codes and the name of 250 countries.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add country_dial_code

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  country_dial_code: ^1.1.2

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_dial_code/country_dial_code.dart';
6
likes
145
points
3.98k
downloads

Publisher

verified publisheralexastudillo.com

Weekly Downloads

This package allows you to get the dialing codes and the name of 250 countries.

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause-Views (license)

Dependencies

flutter

More

Packages that depend on country_dial_code