scrollRight method
- FinderBase<
SemanticsNode> ? scrollable,
Performs a SemanticsAction.scrollRight 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:
- The given
scrollable
returns zero or more than one result. - The SemanticsNode found with
scrollable
does not support SemanticsAction.scrollRight.
Implementation
void scrollRight({finders.FinderBase<SemanticsNode>? scrollable}) {
performAction(scrollable ?? finders.find.semantics.scrollable(), SemanticsAction.scrollRight);
}