onSemanticsActionEvent property
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
SemanticsActionEventCallback? get onSemanticsActionEvent => _onSemanticsActionEvent;
Implementation
set onSemanticsActionEvent(SemanticsActionEventCallback? callback) {
_onSemanticsActionEvent = callback;
_onSemanticsActionEventZone = Zone.current;
}