overlayStyle property

PieOverlayStyle overlayStyle
final

Decides how to display the translucent canvas overlay.

PieOverlayStyle.behind is the recommended style if your menu child is stateless.

Use PieOverlayStyle.around if you want to preserve the state of your menu child. However, you might experience some rendering issues when the menu is partially obscured by other widgets.

Implementation

final PieOverlayStyle overlayStyle;