ez_email_field 0.0.3
ez_email_field: ^0.0.3 copied to clipboard
A pre-validated, highly customizable email text field with built-in regex and error handling.
0.0.3 #
- Feat: Renamed primary class to
EzEmailFieldto align with theez_flutterecosystem convention, withtypedef EZEmailField = EzEmailField;for 100% backwards compatibility. - Feat: Added
autoTrim(enabled by default) to automatically strip leading and trailing whitespace on validation and form submission. - Feat: Added
showClearButtonandclearIconto provide an instant clear suffix action. - Feat: Added
requiredMessageandinvalidEmailMessagefor customizable validation error strings. - Feat: Added full drop-in parity with Flutter's standard
TextFormField:- Added
validatoralias forcustomValidator. - Added
initialValue,focusNode,autovalidateMode,enabled,onSaved,inputFormatters,onTap,cursorColor,textCapitalization, andmaxLength. - Added default
autofillHints: const [AutofillHints.email]for native mobile autofill integration.
- Added
- Tests: Expanded test suite to 18 tests covering all new properties, auto-trim, and clear button behavior.
0.0.2 #
- Docs: Added
FUNDING.ymland updatedpubspec.yamlmetadata. - Docs: Refined
README.mdfor better clarity and SEO. - Example: Added comprehensive example app with Forms and validation.
0.0.1 #
- Initial release of the
ez_email_fieldwidget, a simple and customizable email input field.