EventCallback typedef

EventCallback = (void Function(Offset position)?)

A callback run upon interacting with a tray icon. It can use the mouse position to spawn menus (for example).

Implementation

typedef EventCallback = void Function(Offset position)?;