phone_number_text_input_formatter 0.0.1 phone_number_text_input_formatter: ^0.0.1 copied to clipboard
A lightweight and efficient solution for formatting phone numbers within your Flutter applications.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add phone_number_text_input_formatter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
phone_number_text_input_formatter: ^0.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:phone_number_text_input_formatter/phone_number_text_input_formatter.dart';