smart_phone_numb 0.3.0
smart_phone_numb: ^0.3.0 copied to clipboard
A Flutter phone number field that detects the user's country from the device timezone and validates the number length for the selected country.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_phone_numbThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
smart_phone_numb: ^0.3.0Alternatively, 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_numb/smart_phone_numb.dart';