masked_controller 1.0.1

Flutter Android iOS

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

2
likes
80
pub points
77%
popularity

A controller to insert mask to textfield.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

isds.santana@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on masked_controller