isRangeValueWithinViewport method

  1. @override
bool isRangeValueWithinViewport(
  1. double rangeValue
)

Returns true if the given rangeValue point is within the output range.

Not to be confused with the start and end of the domain.

Implementation

@override
bool isRangeValueWithinViewport(double rangeValue) =>
    range!.containsValue(rangeValue);