canScrollUp property

bool get canScrollUp

Whether there is more content above the current viewport.

Implementation

bool get canScrollUp => elements.any(
  (e) =>
      e.type == UiElementType.scrollable &&
      e.availableActions.contains('scrollUp'),
);