performSemanticsAction abstract method

  1. @protected
void performSemanticsAction(
  1. SemanticsActionEvent action
)

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 ui.SemanticsActionEvent.nodeId.

See dart:ui.PlatformDispatcher.onSemanticsActionEvent.

Implementation

@protected
void performSemanticsAction(ui.SemanticsActionEvent action);