animateWith abstract method

TickerFuture animateWith(
  1. Simulation simulation
)

Drives the animation according to the given simulation.

Unlike standard Flutter AnimationController, DurableAnimationController preserves the accumulated simulation elapsed time across dormant deactivations, seamlessly resuming physics execution upon remount without restarting the simulation from $t = 0.0$.

  • simulation: The physical motion simulation to run.

Ensures:

  • Runs physics simulation with continuous time preservation across dormant unmounts.

Implementation

TickerFuture animateWith(Simulation simulation);