context_menu library

Classes

ContextMenuInfo
///////////////////////////////////////////////////////////////////////////
ContextMenuOverlay
Listens to tap events on the map and shows a context menu. The event which is being listened is configurable. The context menu to show is also configurable. Make sure to close the context menu by calling MapModel.tapEvent(null) when the context menu should be closed or is (far) outside of the visible area.
SimpleContextMenu
A context menu with a frame and the position (lat/lon) where the user tapped at the map. The position can be copied into clipboard with a long press.
SimpleContextMenuWidget
A widget to draw a frame which points to the tapped position.

Typedefs

ContextMenuBuilder = Widget Function(ContextMenuInfo info)