animateWith method
Drives the animation according to the given simulation.
Returns a TickerFuture that completes when the animation is complete.
Implementation
TickerFuture animateWith(Simulation simulation) {
stop();
return _startSimulation(simulation);
}