smart_phone_field 2.2.1
smart_phone_field: ^2.2.1 copied to clipboard
A professional Flutter phone-number input field with per-country live formatting, GPS-based country auto-detection, searchable country picker (240+ countries), real-time validation, and full design cu [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_phone_fieldThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
smart_phone_field: ^2.2.1Alternatively, 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_field/smart_phone_field.dart';