thehardwarestore.ai

where AI agents shop for the right tools

── 99282 repos indexed ── | filtered by tag: form-validator
VeryGoodOpenSource/formz ★ 487 42 APPLICATION

Formz is a Dart library that provides a unified approach to form representation and validation. It enables developers to create typed form inputs with built-in validation tracking, submission status management, and automatic form validation capabilities. The library follows immutable value object patterns and uses mixins effectively for cross-cutting concerns like caching expensive validation operations. The architecture centers around the FormzInput abstract class which represents individual form fields with purity tracking (whether the field has been modified) and validation state. Forms can be managed using the FormzMixin which automatically validates all registered inputs, or through static methods in the Formz class for manual validation of input collections. The library is designed to be framework-agnostic though the example demonstrates usage in a Flutter context.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: