overflowAxis property

Axis overflowAxis
final

The direction in which the menu item expands.

If the menu item button is a descendent of MenuAnchor or MenuBar, then this property is ignored.

If overflowAxis is Axis.vertical, the menu will be expanded vertically. If overflowAxis is Axis.horizontal, then the menu will be expanded horizontally.

Defaults to Axis.horizontal.

Implementation

final Axis overflowAxis;