formrules 1.0.4 copy "formrules: ^1.0.4" to clipboard
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() and max() rules for numeric value range validation.
  • Updated example app with live demos for the new rules.

1.0.3 - 2026-05-02 #

Added #

1.0.2 - 2026-05-02 #

Added #

  • Added high-quality screenshots to README.md to 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 PhoneCountry enum 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 TextFormField integration.
  • Fail-Fast Engine: Immediately returns the first error found to optimize UX.
  • Zero-Dependency: No intl or 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.
2
likes
160
points
165
downloads

Documentation

API reference

Publisher

verified publishermaheshlangote.in

Weekly Downloads

A fluent, chainable Flutter form validator with a conflict-free static API, built-in rules, full localization support, and zero third-party dependencies.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter

More

Packages that depend on formrules