ValidatorLengthRange constructor

ValidatorLengthRange({
  1. required int min,
  2. required int max,
  3. required String label,
})

ValidatorLengthRange 长度范围验证器

Implementation

ValidatorLengthRange({required this.min, required this.max, required String label})
  : super(
      label + 'lengthRule'.tr(namedArgs: {'min': min.toString(), 'max': max.toString()}),
    );