v1.1.2
masked_text
Um pacote simples e básico de texto mascarado.
26Curtidas 350Downloads em 30 dias130Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Plugin de campo de texto com máscara para Flutter
{"sdk":"flutter"}^2.4.0{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
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
It's very simple, it's a Widget as all the other ones.
MaskedTextField
(
maskedTextFieldController: _textCPFController,
mask: "###.###.###-###",
maxLength: 14,
keyboardType: TextInputType.number,
inputDecoration: new InputDecoration(
hintText: "Write you Document here", labelText: "CPF"),
);