OverlayMenuBarrier class
The full-screen area behind the menu, and how it behaves.
Constructors
- OverlayMenuBarrier({bool dismissible = true, Color? color, Widget? overlayChild})
-
const
Properties
- color → Color?
-
Color painted behind the menu. Transparent when null.
final
- dismissible → bool
-
Whether tapping outside the menu closes it.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- overlayChild → Widget?
-
Drawn above the barrier and below the menu — a drag-to-move area, say.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? dismissible, Color? color, Widget? overlayChild}) → OverlayMenuBarrier -
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