didUpdateScrollDirection method

void didUpdateScrollDirection (ScrollDirection direction)

Dispatches a notification that the userScrollDirection has changed.

Subclasses should call this function when they change userScrollDirection.

Implementation

void didUpdateScrollDirection(ScrollDirection direction) {
  UserScrollNotification(metrics: copyWith(), context: context.notificationContext, direction: direction).dispatch(context.notificationContext);
}