onContextMenu property
Called when the element is right-clicked (context menu).
Receives the global position for showing a context menu.
Implementation
final void Function(Offset globalPosition)? onContextMenu;
Called when the element is right-clicked (context menu).
Receives the global position for showing a context menu.
final void Function(Offset globalPosition)? onContextMenu;