MinAndMaxCharactersValidationRule constructor
MinAndMaxCharactersValidationRule({})
Implementation
MinAndMaxCharactersValidationRule({
required int min,
required int max,
String? customText,
bool? showName,
}) : assert(min > 0, 'min must be greater than 0'),
assert(max > 0, 'max must be greater than 0'),
assert(max >= min, 'max must be greater than min'),
_min = min,
_max = max,
_customText = customText,
_showName = showName;