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

See dart:ui.PlatformDispatcher.onSemanticsActionEvent.


void performSemanticsAction(ui.SemanticsActionEvent action);