PieOverlayStyle enum

Decides how to display the translucent canvas overlay.

Inheritance

Constructors

PieOverlayStyle()
const

Values

behind → const PieOverlayStyle

Displays the overlay to cover the entire canvas, and re-renders the menu child on top of the overlay.

This is the recommended style if your menu child is stateless.

around → const PieOverlayStyle

Draws the overlay around the menu child using CustomPainter.

Use this style if you want to preserve the state of your menu child. You might experience some rendering issues when the menu is partially obscured by other widgets.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<PieOverlayStyle>
A constant List of the values in this enum, in order of their declaration.