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