masked_controller 1.0.1 copy "masked_controller: ^1.0.1" to clipboard
masked_controller: ^1.0.1 copied to clipboard

A controller to insert mask to textfield.

masked_controller #

A controller to insert mask to textfield.

sample

Install #

Follow this guide

Usage #

Import the library

import 'import 'package:masked_controller/masked_controller.dart';';

and the mask:

import 'package:masked_controller/mask.dart';

Create the Controller

final MaskedController _controller = MaskedController(mask: Mask(mask: 'NNN.NNN.NNN-NN'));

Get unmasked value #

To get the unsmaked value from controller, use the unmaskedText property:

final String val = controller.unmaskedText;

Inspired by: https://github.com/benhurott/flutter-masked-text

10
likes
10
pub points
20%
popularity

Publisher

unverified uploader

A controller to insert mask to textfield.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on masked_controller