InputValidation constructor

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

Implementation

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