onSemanticsActionEvent property

  1. @override
SemanticsActionEventCallback? onSemanticsActionEvent
override

A callback that is invoked whenever the user requests an action to be performed on a semantics node.

This callback is used when the user expresses the action they wish to perform based on the semantics node supplied by updateSemantics.

The framework invokes this callback in the same zone in which the callback was set.

Implementation

@override
SemanticsActionEventCallback? get onSemanticsActionEvent => _platformDispatcher.onSemanticsActionEvent;
  1. @override
void onSemanticsActionEvent=(SemanticsActionEventCallback? callback)
override

Implementation

@override
set onSemanticsActionEvent(SemanticsActionEventCallback? callback) {
  _platformDispatcher.onSemanticsActionEvent = callback;
}