well_formed library
Well-Formed Widget Fields — Well-Formed is a collection of Flutter form field widgets intended to help developers:
- keep user data always well-formed.
- reduce most of the code related to form fields and validations thereof.
- improve the readability and maintainability of source code by providing a declarative, object-oriented interface.
Classes
- BasicTextField
- A basic text form field that can be made required and/or have its input data trimmed.
- BrMobileField
- Plano Brasileiro de Numeração Móvel — Brazilian Mobile Numbering Plan.
- BrPhoneField
- Plano Brasileiro de Numeração de Telefones Fixos — Brazilian Landline Numbering Plan.
- CepField
- CEP — Código de Endereçamento Postal.
- CnpjField
- CNPJ — Cadastro Nacional de Pessoa Jurídica.
- CpfField
- CPF — Cadastro da Pessoa Física.
- DigitField
- Digit-only Form Field.
- EmailField
- Email Form Field.
- HexField
- Hexadecimal-only Form Field.
- IntField
- Integer Form Field.
- NumField
- Numeric Form Field.
- WellFormed
- A convenient well-formed form widget!
Typedefs
- ToBasicTextField = BasicTextField Function(BuildContext)
- Form fields that builds a TextFormField.
- ToForm = Widget Function(BuildContext)
- Something that retrieves a form container.
- ToFormWidget = Widget Function(BuildContext)
- Form related widget builder.
- ToReset = Widget Function(VoidCallback )
- Something that retrieves the reset widget.
- ToSubmit = Widget Function(VoidCallback )
- Something that retrieves the submission widget.
- ToTextField = TextFormField Function(BuildContext)
- Form fields that builds a TextFormField.