context_menus library Null safety

Classes

ContextMenuButton
The default ContextMenu button. To provide your own, override ContextMenuOverlay buttonBuilder.
ContextMenuButtonConfig
ContextMenuButtonStyle
ContextMenuCard
ContextMenuDivider
ContextMenuOverlay
ContextMenuOverlayState
ContextMenuRegion
Wraps any widget in a GestureDetector and calls ContextMenuOverlay.show
GenericContextMenu
Pass a list of ButtonConfigs, and this will create a basic context menu dynamically.
LinkContextMenu
TextContextMenu

Mixins

ContextMenuStateMixin<T extends StatefulWidget>
Optional mixin for ContextMenu's. Provides: handlePressed method that takes care of closing the menu after some action has been run. card, button and divider builders, that check the for a parent ContextMenuOverlay

Extensions

ContextMenuExtensions

Typedefs

ContextMenuButtonBuilder = Widget Function(BuildContext context, ContextMenuButtonConfig config, [ContextMenuButtonStyle? style])
ContextMenuCardBuilder = Widget Function(BuildContext context, List<Widget> children)
Background for each ContextMenu
ContextMenuDividerBuilder = Widget Function(BuildContext context)
Hz Divider