smart_phone_numb 0.2.3
smart_phone_numb: ^0.2.3 copied to clipboard
A Flutter package for a smart phone number field that automatically suggests the country code and sets the phone number length dynamically based on timezone.
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.2.3Alternatively, 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';