ValidatorMaxLength constructor

ValidatorMaxLength({
  1. required int max,
  2. required String label,
})

ValidatorMaxLength 最大长度验证器

Implementation

ValidatorMaxLength({required this.max, required String label})
  : super(
      label + 'onlyMaxLengthRule'.tr(args: [max.toString()]),
    );