InputValidation constructor

const InputValidation({
  1. bool? mustFill = true,
  2. int? minLength,
  3. int? maxLength,
  4. RegExp? regExp,
  5. String? errorMsg,
  6. String? format,
  7. String? emptyTip = "输入不能为空",
  8. List? formatValues = const [],
  9. String? customValidator(
    1. String?
    )?,
  10. bool condition()?,
})

Implementation

const InputValidation({
  this.mustFill = true,
  this.minLength,
  this.maxLength,
  this.regExp,
  this.errorMsg,
  this.format,
  this.emptyTip = "输入不能为空",
  this.formatValues = const [],
  this.customValidator,
  this.condition,
});