updateScrollStartDirection method Null safety

void updateScrollStartDirection(
  1. ScrollDirection direction
)

Update the last known ScrollDirection when scrolling began.

Implementation

void updateScrollStartDirection(ScrollDirection direction) {
  _lastStartedScrollDirection = direction;
}