validate_kit 1.0.1
validate_kit: ^1.0.1 copied to clipboard
A zero-dependency, fluent form validation toolkit for Dart and Flutter. Chain rules for email, password, length, range, and custom logic.
1.0.1 #
- Compress the demo GIF so it renders in the README on GitHub and pub.flutter-io.cn.
- Shorten the package description to satisfy pub.flutter-io.cn length limits.
- Use
validate_kitconsistently as the example app's title. - No API changes.
1.0.0 #
- Initial release.
- Fluent
FieldValidator(aliased asMultiValidator) with chainable, short-circuiting validation rules. - Built-in rules:
required,email,minLength,maxLength,lengthBetween,numeric,numericRange,integer,url,strongPassword,matches,matchesValue,pattern,contains,equals,oneOf, andcustom. - Optional error aggregation via
aggregate()and per-call retrieval withvalidateAll()/validateResult(). - Localization-ready, globally overridable defaults through
ValidationMessages. - Convenience
Stringextensions such asisValidEmail,isBlank, andisStrongPassword. - Fully documented public API, comprehensive unit tests, and a runnable Flutter example app.