the_country_number 0.9.1 the_country_number: ^0.9.1 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
Use this package as a library
Depend on it
Run this command:
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 flutter pub get
):
dependencies:
the_country_number: ^0.9.1
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:the_country_number/the_country_number.dart';