TMenuOverlayController class

Centralized controller for the shared overlay-menu engine.

Tracks one active OverlayPortalController per nesting level, so opening a submenu at level N automatically closes anything deeper, and closes the whole stack once the pointer leaves every open panel.

Constructors

TMenuOverlayController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

isAnyHovered bool
no setter
isLocked bool
getter/setter pair

Static Methods

hideAll() → void
hideDeeperThan(int level) → void
scheduleHide({Duration delay = const Duration(milliseconds: 125)}) → void
setMouseInArea(bool inArea) → void
Backwards-compatibility alias for older code
setPanelHovered(int level, bool hovered) → void
setTriggerHovered(bool hovered) → void
show(int level, OverlayPortalController controller) → void