Represents an entry in a context menu.
This class is used to define individual items that can be displayed within a context menu.
see:
- Implementers
Constructors
- ContextMenuEntry()
-
const
Properties
- debugLabel → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
builder(
BuildContext context, ) → Widget - Builds the widget representation of the context menu entry.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMouseEnter(
PointerEnterEvent event, ) → void - Called when the mouse pointer enters the area of the context menu entry.
-
onMouseExit(
PointerExitEvent event, ) → void - Called when the mouse pointer exits the area of the context menu entry.
-
onMouseHover(
PointerHoverEvent event, ) → void - Called when the mouse pointer hovers over the context menu entry.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited