TextValidation constructor

const TextValidation({
  1. String? errorCode,
  2. int? minLength,
  3. int? maxLength,
  4. RegExp? match,
  5. RegExp? notMatch,
})

Implementation

const TextValidation({
  String? errorCode,
  this.minLength,
  this.maxLength,
  this.match,
  this.notMatch,
}) : super(errorCode);