global_phone_number_validator 1.0.0 copy "global_phone_number_validator: ^1.0.0" to clipboard
global_phone_number_validator: ^1.0.0 copied to clipboard

A simple and extensible library to validate international phone numbers, supporting prefix and length validation based on a JSON configuration

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add global_phone_number_validator

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

dependencies:
  global_phone_number_validator: ^1.0.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:global_phone_number_validator/global_phone_number_validator.dart';
1
likes
130
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple and extensible library to validate international phone numbers, supporting prefix and length validation based on a JSON configuration

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on global_phone_number_validator