Returns the new value of the animation
@override double computeValue(Duration time) { if (predicate()) { completeTask(); } return startedValue; }