intl_phone_field_improve 1.0.1 intl_phone_field_improve: ^1.0.1 copied to clipboard
Test and learn for myself, Refer to intl_phone_field for practice.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add intl_phone_field_improve
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
intl_phone_field_improve: ^1.0.1
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:intl_phone_field_improve/countries.dart';
import 'package:intl_phone_field_improve/intl_phone_field.dart';
import 'package:intl_phone_field_improve/phone_number.dart';