animateTo abstract method
Drives the animation from its current value to the given target, "forward".
target: Target value within[lowerBound, upperBound].duration: Optional override for animation duration.curve: Transition curve (defaults to Curves.linear).
Ensures:
- Returns a TickerFuture completing when animation reaches
target.
Implementation
TickerFuture animateTo(double target,
{Duration? duration, Curve curve = Curves.linear});