LengthRange constructor

const LengthRange({
  1. int? min,
  2. int? max,
  3. bool inclusive = true,
})

Validator that checks if the length falls within a specified range. Either min, max, or both must be provided.

Implementation

const LengthRange({this.min, this.max, this.inclusive = true});