ActionWithContext typedef
ActionWithContext =
void Function(dynamic context)
Action triggered by interaction with the menu.
For web menus context
should be the UIEvent.
Implementation
typedef ActionWithContext = void Function(dynamic context);