phone_number_field 1.2.0 copy "phone_number_field: ^1.2.0" to clipboard
phone_number_field: ^1.2.0 copied to clipboard

A package that provides a Flutter widget for formatting and validating phone numbers in text fields.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add phone_number_field

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

dependencies:
  phone_number_field: ^1.2.0

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:phone_number_field/phone_number_field.dart';
4
likes
160
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A package that provides a Flutter widget for formatting and validating phone numbers in text fields.

Repository (GitHub)
View/report issues

Topics

#intl-phone-number #country-picker #phone-number-formatter

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on phone_number_field