isAbove method

bool isAbove(
  1. double threshold
)

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

Example:

animation.isAbove(0.5); // true if value > 0.5

Implementation

bool isAbove(double threshold) => value > threshold;