handleCustomContextMenuAction method
- String callbackId
override
Called when a custom context menu action is triggered.
Implementation
@override
void handleCustomContextMenuAction(String callbackId) {
final VoidCallback? callback = _customActionCallbacks[callbackId];
assert(
callback != null,
'Custom action callback not found for id: $callbackId. '
'This may indicate that the menu item was not properly registered.',
);
callback?.call();
}