RawMenuOverlayInfo class
Anchor and menu information passed to RawMenuAnchor.
- Annotations
Constructors
- RawMenuOverlayInfo.new({required Rect anchorRect, required Size overlaySize, required Object tapRegionGroupId, Offset? position})
-
Creates a RawMenuOverlayInfo.
const
Properties
- anchorRect → Rect
-
The position of the anchor widget that the menu is attached to, relative to
the nearest ancestor Overlay when RawMenuAnchor.useRootOverlay is false,
or the root Overlay when RawMenuAnchor.useRootOverlay is true.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- overlaySize → Size
-
The Size of the overlay that the menu is being shown in.
final
- position → Offset?
-
The
position
argument passed to MenuController.open.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tapRegionGroupId → Object
-
The TapRegion.groupId of the TapRegion that wraps widgets in this menu
system.
final
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.
override