contextMenuEntries property

List<PopupMenuEntry>? contextMenuEntries
final

Optional list of context menu entries.

When the showInteractiveDelegate is defined, then the context menu is shown after a long press. When the showInteractiveDelegate is not defined, then the context menu is shown after a press. Note that additionally the onContextMenuSelected delegate needs to be specified

Implementation

final List<PopupMenuEntry>? contextMenuEntries;