updateUserScrollDirection method

  1. @protected
void updateUserScrollDirection (ScrollDirection value)
@protected

Set userScrollDirection to the given value.

If this changes the value, then a UserScrollNotification is dispatched.

Implementation

@protected
void updateUserScrollDirection(ScrollDirection value) {
  assert(value != null);
  if (userScrollDirection == value)
    return;
  _userScrollDirection = value;
  didUpdateScrollDirection(value);
}