performSemanticsAction method
- SemanticsActionEvent action
override
Called whenever the platform requests an action to be performed on a SemanticsNode.
This callback is invoked when a user interacts with the app via an accessibility service (e.g. TalkBack and VoiceOver) and initiates an action on the focused node.
Bindings that mixin the SemanticsBinding must implement this method and
perform the given action
on the SemanticsNode specified by
SemanticsActionEvent.nodeId.
Implementation
@override
void performSemanticsAction(SemanticsActionEvent action) {
_pipelineOwner.semanticsOwner?.performAction(action.nodeId, action.type, action.arguments);
}