showOnScreen method
- FinderBase<
SemanticsNode> finder
Performs a SemanticsAction.showOnScreen action on the SemanticsNode
found by finder.
Throws a StateError if:
- The given
finderreturns zero or more than one result. - The SemanticsNode found with
finderdoes not support SemanticsAction.showOnScreen.
Implementation
void showOnScreen(finders.FinderBase<SemanticsNode> finder) {
performAction(finder, SemanticsAction.showOnScreen, checkForAction: false);
}