digitsBetweenValidationMessage method
Generates a validation error message for a field that should have a length between two values.
This message indicates that the fieldName
must have a length between min
and max
.
Implementation
String digitsBetweenValidationMessage(String fieldName, num min, num max) {
return Intl.message(
'$fieldName must have a length between $min and $max.',
name: 'digitsBetweenValidationMessage',
desc:
'Validation message for a field that should have a length between two values',
args: [fieldName, min, max],
locale: localeName,
);
}