form_validator_kit 0.1.0
form_validator_kit: ^0.1.0 copied to clipboard
A lightweight and composable Flutter form validation package with built-in validators for email, phone, password, regex, and more.
Changelog #
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project follows semantic versioning.
0.1.0 #
Added #
- Reusable
PasswordInputFieldwidget with show and hide toggle support - Live password strength indicator and validation hint chips
- Confirm password matching support built into the widget
- Caps lock warning styling for password entry flows
- Widget tests covering visibility toggle, strength feedback, and password matching
0.0.1 #
Initial release.
Added #
FormValidatorstatic API for reusable form validationValidatorFunctiontypedef for Flutter form field validators- Required validator with null, empty, and whitespace checks
- Email validator with optional
allowEmpty - Phone validator with optional
allowEmpty - Minimum, maximum, and exact length validators
- Password validator with configurable strength rules
- Confirm password validator
- Regex validator for custom pattern matching
- URL validator for
httpandhttpslinks - Username validator with optional min and max length
- Numeric validator with optional min and max bounds
combine()helper to chain validators and return the first error- Custom error message support across validators
- Example Flutter app for manual testing
- Unit test coverage for the package API