ValidationRules constructor

const ValidationRules({
  1. bool required = false,
  2. num? min,
  3. num? max,
  4. bool email = false,
  5. bool url = false,
  6. String? regex,
  7. bool confirmed = false,
  8. bool numeric = false,
  9. Map<String, String> messages = const {},
})

Implementation

const ValidationRules({
  this.required = false,
  this.min,
  this.max,
  this.email = false,
  this.url = false,
  this.regex,
  this.confirmed = false,
  this.numeric = false,
  this.messages = const {},
});