updateUserScrollDirection method Null safety
- ScrollDirection value
protected">@protectedvisibleForTesting">@visibleForTesting
Set userScrollDirection to the given value.
If this changes the value, then a UserScrollNotification is dispatched.
Implementation
@protected
@visibleForTesting
void updateUserScrollDirection(ScrollDirection value) {
assert(value != null);
if (userScrollDirection == value) {
return;
}
_userScrollDirection = value;
didUpdateScrollDirection(value);
}