mode property

SideMenuMode mode
final

The SideMenuMode which is auto, open or compact.

In SideMenuMode.auto, the side menu is visible when the screen is wide enough and changes to compact mode when the screen is narrow.

In SideMenuMode.compact, the side menu closed based on minWidth value.

In SideMenuMode.open, the side menu opens based on maxWidth value.

Implementation

final SideMenuMode mode;