components/context_menu library

Classes

CNContextMenu
Opens a native context menu for its child: a secondary click (right click, two-finger click) or a Control-click on macOS, a long press on iOS.
CNContextMenuState
State of a CNContextMenu; showMenu opens the menu from code.
ControlClickGestureRecognizer
Recognizes a Control-click (primary mouse button with Control held), the Mac's other context-menu click, and wins the gesture arena at once, so the child does not also take it as a tap.