minLength static method
Implementation
static FormFieldValidator<String> minLength({
required int minLength,
required String message,
}) =>
(String? value) {
if (value == null || value.length < minLength) {
return message;
}
return null;
};