masked_text 0.0.1 copy "masked_text: ^0.0.1" to clipboard
masked_text: ^0.0.1 copied to clipboard

outdatedDart 1 only

A simple and basic masked text package.

masked_text #

A package for masked texts, so if you want a mask for phone, or zip code or any kind of mask, just use it :D

Getting Started #

It's very simple, it's a Widget as all the other ones.

new MaskedTextField(
          maskedTextFieldController: _textCPFController,
          mask: "xxx.xxx.xxx-xx",
          maxLength: 14,
          keyboardType: TextInputType.number,
          inputDecoration: new InputDecoration(
              hintText: "Digite seu CPF", labelText: "CPF"),
        ),

'x' is the normal char that your text will have.

this sample reproduces something like this in the end: 111.111.111-11 (if you type all '1' of course, hehehe)

25
likes
0
pub points
90%
popularity

Publisher

unverified uploader

A simple and basic masked text package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on masked_text