ValidationRules constructor

ValidationRules({
  1. int? minLength,
  2. int? maxLength,
  3. int? min,
  4. int? max,
  5. int? exactLength,
  6. String? regexPattern,
  7. String? regexErrorMessage,
  8. String? matchField,
  9. String? customErrorMessage,
  10. String? customValidatorFunction,
  11. String? minDate,
  12. String? maxDate,
  13. bool disableFutureDates = false,
  14. bool disablePastDates = false,
})

Implementation

ValidationRules({
  this.minLength,
  this.maxLength,
  this.min,
  this.max,
  this.exactLength,
  this.regexPattern,
  this.regexErrorMessage,
  this.matchField,
  this.customErrorMessage,
  this.customValidatorFunction,
  this.minDate,
  this.maxDate,
  this.disableFutureDates = false,
  this.disablePastDates = false,
});