onContextMenu method
The contextmenu event fires when the user attempts to open a context menu. Read more...
Implementation
WidgetElementVisible onContextMenu(Function(Element, Event)? fun) {
if (fun != null) on.call('contextmenu', fun);
return this;
}