ru_phone_formatter

Last updated:

0 purchases

ru_phone_formatter Image
ru_phone_formatter Images
Add to Cart

Description:

ru phone formatter

RU Phone Formatter #

The package allows you to format phone numbers. for Russian numbers, a mask will be applied. no matter which digit you start entering (from 9.8 or 7), the mask correctly adapts the value in the input field. If you specify a number not from Russia, then the mask will not work
Getting started #
Just download the package to get started.
Usage #
Declare a mask for formatting
final maskFormatter = RuPhoneInputFormatter();
copied to clipboard
add it to TextForm
TextFormField(
inputFormatters:[maskFormatter],
);
copied to clipboard
get the result in maskFormatter.getClearPhone()
String phone=maskFormatter.getClearPhone();
copied to clipboard
To add a new phone to an already existing mask, use:
final textController=TextFormField();
......
maskFormatter.setPhone("999999999");
textController.text=maskFormatter.getMaskedPhone();
copied to clipboard
Support the author #
Support the author

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.