flutter_formy_numeric_validators library
A library that provides numeric validators for use with Formy.
These validators help enforce numeric constraints, such as ensuring values fall within a range, are positive or negative, or meet divisibility or parity requirements.
Included validators
- BetweenValuesValidator
- DivisibleByValidator
- EvenNumValidator
- MaxValueValidator
- MinValueValidator
- NegativeNumValidator
- NonZeroValidator
- OddNumValidator
- PositiveNumValidator
Part of the flutter_formy
package.
Classes
- BetweenValuesValidator
- A validator that checks if the value is between minValue and maxValue.
- DivisibleByValidator
- A validator that checks if the value is divisible by denominator.
- EvenNumValidator
- A validator that checks if the value is even.
- MaxValueValidator
- A validator that checks if the value is equal or less than maxValue.
- MinValueValidator
- A validator that checks if the value is equal or greater than minValue.
- NegativeNumValidator
- A validator that checks if the value is negative.
- NonZeroValidator
- A validator that checks if the value is not zero.
- OddNumValidator
- A validator that checks if the value is odd.
- PositiveNumValidator
- A validator that checks if the value is positive.