cnpj static method
use to format cnpj fields
TextFormField(
autovalidateMode: AutovalidateMode.onUserInteraction,
inputFormatters: [Mask.cnpj()],
),
Implementation
static TextInputFormatter cnpj() {
return GenericMask(mask: ['##.###.###/####-##']);
}