customSemanticsActions property Null safety
The handlers and supported CustomSemanticsAction
s for this node.
These handlers are called whenever the user performs the associated custom accessibility action from a special platform menu. Providing any custom actions here also adds SemanticsAction.customAction to the node.
See also:
CustomSemanticsAction
, for an explanation of custom actions.
Implementation
Map<CustomSemanticsAction, VoidCallback>? get customSemanticsActions => _customSemanticsActions;
Implementation
set customSemanticsActions(Map<CustomSemanticsAction, VoidCallback>? value) {
if (_customSemanticsActions == value)
return;
_customSemanticsActions = value;
markNeedsSemanticsUpdate();
}