maybeStopSnapAnimation method

void maybeStopSnapAnimation (
  1. ScrollDirection direction
)

If a header snap animation is underway then stop it.

Implementation

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