start method

void start(
  1. Point<int> clickPoint,
  2. VoidCallback onUpdate
)

Starts the animation forward from the beginning.

Implementation

void start(Point<int> clickPoint, VoidCallback onUpdate) {
  reset();
  triggerPoint = clickPoint;
  this.onUpdate = onUpdate;
  forward();
}