isBelow method

bool isBelow(
  1. double threshold
)

Returns true if the animation value is less than the threshold.

Example:

animation.isBelow(0.5); // true if value < 0.5

Implementation

bool isBelow(double threshold) => value < threshold;