maybeStopSnapAnimation method

void maybeStopSnapAnimation (ScrollDirection direction)

If a header snap animation is underway then stop it.

Implementation

void maybeStopSnapAnimation(ScrollDirection direction) {
  _controller?.stop();
}