fabrik_forms library

Classes

EmailValidator
A validator that checks whether a string is a valid email address.
FabrikField<T>
Represents a single field in a form, holding its value, validation logic, and interaction metadata like whether it has been touched or changed.
FabrikForm
Represents a form composed of multiple named FabrikFields.
FabrikFormBuilder
A reactive widget for building UI from a FabrikFormNotifier.
FabrikFormNotifier
A reactive ValueNotifier-based wrapper around FabrikForm.
FabrikFormRule
A FabrikFormValidator built from a plain function.
FabrikFormValidator
Abstract base class for validators that span more than one field.
FabrikValidator<T>
Abstract base class for creating custom field validators.
FieldsMatchValidator
A ready-made FabrikFormValidator that checks two fields hold equal values.
MaxLengthValidator
A validator that ensures the string does not exceed max characters.
MinLengthValidator
A validator that ensures the string has at least min characters.
PasswordValidator
A flexible validator for enforcing password complexity rules.
PhoneValidator
A validator that checks whether a string is a valid phone number.
RangeValidator<T extends num>
A validator that checks whether a numeric value falls within min..max.
RequiredValidator
A validator that ensures the string field is not empty.
UrlValidator
A validator that checks whether a string is a valid URL.