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

Validate mobile numbers per country using real length ranges (8-10, 10-11 digits), mobile-only detection, and a country_code_picker-friendly 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.1.1

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';
1
likes
160
points
163
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Validate mobile numbers per country using real length ranges (8-10, 10-11 digits), mobile-only detection, and a country_code_picker-friendly API.

Repository (GitHub)
View/report issues

Topics

#mobile #validation #phone-number #country-code #flutter

License

Apache-2.0 (license)

Dependencies

crypto

More

Packages that depend on country_mobile_validator