onSemanticsAction property Null safety

SemanticsActionCallback? onSemanticsAction
override

A callback that is invoked whenever the user requests an action to be performed.

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

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

Implementation

@override
ui.SemanticsActionCallback? get onSemanticsAction => _platformDispatcher.onSemanticsAction;
void onSemanticsAction=(SemanticsActionCallback? callback)
override

Implementation

@override
set onSemanticsAction(ui.SemanticsActionCallback? callback) {
  _platformDispatcher.onSemanticsAction = callback;
}