Condition<T>.between constructor

const Condition<T>.between({
  1. required int? start,
  2. required int? end,
  3. T? value,
  4. T? landscapeValue,
})

Conditional when screen width is between start and end inclusive.

Implementation

const Condition.between(
    {required int? start, required int? end, this.value, T? landscapeValue})
    : landscapeValue = (landscapeValue ?? value),
      breakpointStart = start,
      breakpointEnd = end,
      name = null,
      condition = Conditional.BETWEEN;