flutter_formy_cross_validators library
A library that provides cross-field validators for use with Formy.
These validators compare the value of a field against another field in the same group, enabling complex scenarios like:
- Checking if a value is greater or less than another field.
- Ensuring two fields match (e.g., password and confirm password).
- Ensuring two fields do not match.
Included validators
Part of the flutter_formy
package.
Classes
-
BiggerThanValidator<
T> - A validator that checks if the value is greater than or equal to the value of otherField.
-
LessThanValidator<
T> - A validator that checks if the value is less than or equal to the value of otherField.
-
MustMatchValidator<
T> - A validator that checks if the value is equal to the value of otherField.
-
MustNotMatchValidator<
T> - A validator that checks if the value is not equal to the value of otherField.