MenuDivider class final

Represents a divider in a context menu.

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

Parameters:

  • height - The height of the divider.
  • thickness - The thickness of the divider.
  • indent - The indent of the divider.
  • endIndent - The end indent of the divider.
  • color - The color of the divider.

see:

Inheritance

Constructors

const

Properties

color Color?
final
debugLabel String
no setterinherited
endIndent double?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
indent double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double?
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