stopScrolling method

void stopScrolling()

Stops any auto-scrolling that is currently in progress.

Implementation

void stopScrolling() {
  if (!_ticker.isTicking) {
    return;
  }
  _log.fine('stopping auto-scroll');
  _autoScrollDirection = null;
  _timeOfNextAutoScroll = Duration.zero;
  _ticker.stop();
}