cnpj_cpf_formatter

Creator: coderz1093

Last updated:

0 purchases

cnpj_cpf_formatter Image
cnpj_cpf_formatter Images

Languages

Categories

Add to Cart

Description:

cnpj cpf formatter

This library helps with CNPJ and CPF formatter. Both of them are brazilian a documentation where CNPJ is a business document and CPF is a person document.
Usage #
A simple usage example:
CPF formatter #
TextField(
decoration: InputDecoration(
labelText: 'CPF',
helperText: 'just CPF formatting',
),
inputFormatters: [
CnpjCpfFormatter(
eDocumentType: EDocumentType.CPF,
)
],
)
copied to clipboard
CNPJ formatter #
TextField(
decoration: InputDecoration(
labelText: 'CNPJ',
helperText: 'just CNPJ formatting',
),
inputFormatters: [
CnpjCpfFormatter(
eDocumentType: EDocumentType.CNPJ,
)
],
)
copied to clipboard
CNPJ and CPF formatters in same field #
TextField(
decoration: InputDecoration(
labelText: 'CNPJ/CPF',
helperText: 'CNPJ and CPF formatting',
),
inputFormatters: [
CnpjCpfFormatter(
eDocumentType: EDocumentType.BOTH,
)
],
)
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.