Future<Null> animateWith(Simulation simulation)

Drives the animation according to the given simulation.

Source

Future<Null> animateWith(Simulation simulation) {
  stop();
  return _startSimulation(simulation);
}