the_country_number 0.9.2+7 copy "the_country_number: ^0.9.2+7" to clipboard
the_country_number: ^0.9.2+7 copied to clipboard

A small library for flutter written in pure dart (doesn't use libphonenumber) which parses a phone number or iso2 code of a country to give you some vitals about the country (if you need to skip null- [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add the_country_number

With Flutter:

 $ flutter pub add the_country_number

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

dependencies:
  the_country_number: ^0.9.2+7

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:the_country_number/the_country_number.dart';
5
likes
130
pub points
80%
popularity

Publisher

verified publisheryadunandan.xyz

A small library for flutter written in pure dart (doesn't use libphonenumber) which parses a phone number or iso2 code of a country to give you some vitals about the country (if you need to skip null-safety, use version 0.9.0)

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on the_country_number