scrollUp method

void scrollUp({
  1. FinderBase<SemanticsNode>? scrollable,
})

Performs a SemanticsAction.scrollUp action on the SemanticsNode found by scrollable or the first scrollable node in the default semantics tree if no scrollable is provided.

Throws a StateError if:

Implementation

void scrollUp({finders.FinderBase<SemanticsNode>? scrollable}) {
  performAction(scrollable ?? finders.find.semantics.scrollable(), SemanticsAction.scrollUp);
}