stop method

void stop()

Cancel: the fx drops, the base was never touched, and the clock is at zero again — nothing plays, so a shader pass drawn by the clock shows the authored moment too.

Implementation

void stop() {
  playable
    ..clearFx()
    ..clock.value = Duration.zero;
  _position = Duration.zero;
  _remaining = 0;
  _end(MotionPlayerStatus.idle);
}