hasLowercaseChars static method
FormFieldValidator that requires the field's value to contain a minimum number of lowercase characters.
Parameters:
atLeast
The minimum number of lowercase characters (default: 1).regex
The regex pattern to match.errorText
The error message when the value does not contain the required number of lowercase characters.checkNullOrEmpty
Whether to check for null or empty values.
Implementation
static FormFieldValidator<String> hasLowercaseChars({
int atLeast = 1,
RegExp? regex,
String? errorText,
bool checkNullOrEmpty = true,
}) => HasLowercaseCharsValidator(
atLeast: atLeast,
regex: regex,
errorText: errorText,
checkNullOrEmpty: checkNullOrEmpty,
).validate;