formrules 1.0.4
formrules: ^1.0.4 copied to clipboard
A fluent, chainable Flutter form validator with a conflict-free static API, built-in rules, full localization support, and zero third-party dependencies.
1.0.4 - 2026-05-02 #
Added #
- Added
min()andmax()rules for numeric value range validation. - Updated example app with live demos for the new rules.
1.0.3 - 2026-05-02 #
Added #
- Added official live demo link: formrules.vercel.app
1.0.2 - 2026-05-02 #
Added #
- Added high-quality screenshots to
README.mdto showcase library capabilities and UI.
1.0.1 - 2026-05-02 #
Changed #
- Updated repository URLs and documentation links for consistency.
- Refined the showcase application with a clean, professional design system.
- Optimized CI workflow by scoping formatting and analysis checks.
1.0.0 - 2026-05-02 #
Added #
- Initial release with 34 comprehensive built-in rules.
- Multi-Country Phone Validation: Added
PhoneCountryenum for strict validation (US, UK, India, Australia, Brazil, Germany, France, Japan, China). - Country Code Validation: Added
countryCode()rule for ITU-T E.164 dial codes. - Fluent & Chainable API: Beautiful builder syntax for easy
TextFormFieldintegration. - Fail-Fast Engine: Immediately returns the first error found to optimize UX.
- Zero-Dependency: No
intlor third-party bloat — pure Dart and Flutter. - Localization: Full support for custom error messages via
FormRulesMessagesEn. - Custom Rules: Support for inline closures and reusable custom rule classes.
- Premium Showcase: Comprehensive example app featuring every rule and a real-world registration form.