country_mobile_validator 0.4.1
country_mobile_validator: ^0.4.1 copied to clipboard
Mobile number validator for 249 countries with real length ranges, telecom carrier detection (Jio, Airtel, Vi, BSNL), and WhatsApp links.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add country_mobile_validatorWith Flutter:
$ flutter pub add country_mobile_validatorThis 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.1Alternatively, 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';