smart_phone_number 1.0.6 copy "smart_phone_number: ^1.0.6" to clipboard
smart_phone_number: ^1.0.6 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 Flutter:

 $ flutter pub add smart_phone_number

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

dependencies:
  smart_phone_number: ^1.0.6

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

Documentation

API reference

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

MIT (license)

Dependencies

flutter, get_country_ip, url_launcher

More

Packages that depend on smart_phone_number