BetweenValidator<T> constructor

const BetweenValidator<T>(
  1. num min,
  2. num max, {
  3. String? errorText,
  4. bool checkNullOrEmpty = true,
})

Constructor for the between validator.

Implementation

const BetweenValidator(
  this.min,
  this.max, {

  /// {@macro base_validator_error_text}
  super.errorText,

  /// {@macro base_validator_null_check}
  super.checkNullOrEmpty,
});