updateScrollStartDirection method Null safety

void updateScrollStartDirection(
  1. ScrollDirection direction
)

Update the last known ScrollDirection when scrolling began.

Implementation

// ignore: use_setters_to_change_properties, (API predates enforcing the lint)
void updateScrollStartDirection(ScrollDirection direction) {
  _lastStartedScrollDirection = direction;
}