DesignOverlayAnchor class
The anchor, as DesignAnchoredOverlay.anchorBuilder gets it.
- Annotations
Constructors
- DesignOverlayAnchor({required MenuController controller, required bool isOpen, required VoidCallback open, required VoidCallback close, required VoidCallback toggle})
-
The anchor of an overlay driven by
controller.const
Properties
- close → VoidCallback
-
Closes it.
final
- controller → MenuController
-
The overlay's controller: what open, close and toggle call.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
Whether the surface is open. It becomes false as dismissal starts,
so the anchor's expanded state follows the active menu.
final
- open → VoidCallback
-
Opens it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toggle → VoidCallback
-
Opens it when closed, closes it when open: the anchor's press.
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.
inherited