flutter_formy_date_validators library
A library that provides date-based validators for use with Formy.
These validators are useful for validating dates relative to today or to other specific dates, such as ensuring a date is within a valid range, after/before another date, or checking age constraints.
Included validators
Part of the flutter_formy
package.
Classes
- AfterDateValidator
- A validator that checks if the value date is greater than date.
- BeforeDateValidator
- A validator that checks if the value date is less than date.
- BetweenDatesValidator
- A validator that checks if the value date is between minDate and maxDate.
- MaxAgeValidator
- A validator that checks if the age calculated from the value date is less than or equal to maxAge.
- MinAgeValidator
- A validator that checks if the age calculated from the value date is greater than or equal to minAge.