animateBack abstract method

TickerFuture animateBack(
  1. double target, {
  2. Duration? duration,
  3. Curve curve = Curves.linear,
})

Drives the animation from its current value to the given target, "backward".

  • 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 animateBack(double target,
    {Duration? duration, Curve curve = Curves.linear});