flutter_context_menu library

Classes

ContextMenu
Represents a context menu data model.
ContextMenuEntry
Represents an entry in a context menu.
ContextMenuItem<T>
Represents a selectable item in a context menu.
ContextMenuRegion
A widget that shows a context menu when the user long presses or right clicks on the widget.
ContextMenuState
Manages the state of the context menu.
Represents a divider in a context menu.
Represents a text header in a context menu.
Represents a selectable item in a context menu.

Functions

showContextMenu<T>(BuildContext context, {required ContextMenu contextMenu, RouteSettings? routeSettings, bool? opaque, bool? barrierDismissible, Color? barrierColor, String? barrierLabel, Duration? transitionDuration, Duration? reverseTransitionDuration, RouteTransitionsBuilder? transitionsBuilder, bool allowSnapshotting = true, bool maintainState = false}) Future<T?>
Shows the root context menu popup.