country_dial_code 1.2.0 copy "country_dial_code: ^1.2.0" to clipboard
country_dial_code: ^1.2.0 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.2.0

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';
5
likes
125
pub points
87%
popularity

Publisher

verified publisheralexastudillo.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause-Views (LICENSE)

Dependencies

flutter

More

Packages that depend on country_dial_code