min<T> static method
FormFieldValidator that requires the field's value to be greater than (or equal) to the provided number.
Parameters:
min
The minimum value to compare.inclusive
Whether the comparison is inclusive (default: true).errorText
The error message when the value is invalid.checkNullOrEmpty
Whether to check for null or empty values.
Implementation
static FormFieldValidator<T> min<T>(
num min, {
bool inclusive = true,
String? errorText,
bool checkNullOrEmpty = true,
}) => MinValidator<T>(
min,
inclusive: inclusive,
errorText: errorText,
checkNullOrEmpty: checkNullOrEmpty,
).validate;