onContextMenu property
Called on secondary tap on a node (right-click/long-press for context menu) Receives both the node and the pointer position for menu placement
Implementation
final void Function(Node<T> node, Offset position)? onContextMenu;
Called on secondary tap on a node (right-click/long-press for context menu) Receives both the node and the pointer position for menu placement
final void Function(Node<T> node, Offset position)? onContextMenu;