pauseOnTouch method

void pauseOnTouch()

Implementation

void pauseOnTouch() {
  timer!.cancel();
  timer = Timer(widget.pauseAutoPlayOnTouch!, () {
    timer = getTimer();
  });
}