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