Skip to main content

country_mobile_validator 0.4.0 copy "country_mobile_validator: ^0.4.0" to clipboard
country_mobile_validator: ^0.4.0 copied to clipboard

Validate mobile numbers per country using real length ranges, mobile-only detection, telecom carrier identification (Jio, Airtel, Vi, BSNL), WhatsApp links, and country_code_picker API.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add country_mobile_validator

With Flutter:

 $ flutter pub add country_mobile_validator

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

dependencies:
  country_mobile_validator: ^0.4.0

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:country_mobile_validator/country_mobile_validator.dart';
2
likes
150
points
846
downloads

Documentation

API reference

Publisher

verified publishergovindtank.is-a.dev

Weekly Downloads

Validate mobile numbers per country using real length ranges, mobile-only detection, telecom carrier identification (Jio, Airtel, Vi, BSNL), WhatsApp links, and country_code_picker API.

Repository (GitHub)
View/report issues

Topics

#phone-validator #mobile-number #telecom-carrier #e164 #validation

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

Apache-2.0 (license)

Dependencies

crypto

More

Packages that depend on country_mobile_validator