MenuHeader class final

Represents a text header in a context menu.

This class is used to define a header that can be displayed within a context menu.

Parameters:

see:

Inheritance

Constructors

const

Properties

debugLabel String
no setterinherited
disableUppercase bool
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final

Methods

builder(BuildContext context, ContextMenuState menuState) Widget
Builds the widget representation of the context menu entry.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMouseEnter(PointerEnterEvent event, ContextMenuState menuState) → void
Called when the mouse pointer enters the area of the context menu entry.
inherited
onMouseExit(PointerExitEvent event, ContextMenuState menuState) → void
Called when the mouse pointer exits the area of the context menu entry.
inherited
onMouseHover(PointerHoverEvent event, ContextMenuState menuState) → void
Called when the mouse pointer hovers over the context menu entry.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited