dlibphonenumber 1.1.36
dlibphonenumber: ^1.1.36 copied to clipboard
A Dart package for working with international phone numbers based on Google's libphonenumber implementation. It parses, formats, and validates numbers without relying on native dependencies.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dlibphonenumber
With Flutter:
$ flutter pub add dlibphonenumber
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dlibphonenumber: ^1.1.36
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:dlibphonenumber/dlibphonenumber.dart';