smart_phone_number 1.0.4 copy "smart_phone_number: ^1.0.4" to clipboard
smart_phone_number: ^1.0.4 copied to clipboard

A smart phone number parser that automatically detects country codes from number prefixes and validates WhatsApp accounts

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smart_phone_number

With Flutter:

 $ flutter pub add smart_phone_number

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

dependencies:
  smart_phone_number: ^1.0.4

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:smart_phone_number/smart_phone_number.dart';
1
likes
0
points
546
downloads

Publisher

unverified uploader

Weekly Downloads

A smart phone number parser that automatically detects country codes from number prefixes and validates WhatsApp accounts

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, get_country_ip, phone_number, url_launcher

More

Packages that depend on smart_phone_number