PaneDisplayMode enum
You can use the PaneDisplayMode property to configure different navigation styles, or display modes, for the NavigationView
Constructors
- PaneDisplayMode()
-
const
Values
- top → const PaneDisplayMode
-
The pane is positioned above the content.
Use top navigation when:
- You have 5 or fewer top-level navigation categories that are equally important, and any additional top-level navigation categories that end up in the dropdown overflow menu are considered less important.
- You need to show all navigation options on screen.
- You want more space for your app content.
- Icons cannot clearly describe your app's navigation categories.
- open → const PaneDisplayMode
-
The pane is expanded and positioned to the left of the content.
Use open navigation when:
- You have 5-10 equally important top-level navigation categories.
- You want navigation categories to be very prominent, with less space for other app content.
- compact → const PaneDisplayMode
-
The pane shows only icons until opened and is positioned to the left of the content.
- minimal → const PaneDisplayMode
-
Only the menu button is shown until the pane is opened. When opened, it's positioned to the left of the content.
- auto → const PaneDisplayMode
-
Let the NavigationPane decide what display mode should be used based on the width. This is used by default on
NavigationPanel
. In Auto mode, the NavigationPane adapts between minimal when the window is narrow, to compact, and then open as the window gets wider.
Properties
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<
PaneDisplayMode> - A constant List of the values in this enum, in order of their declaration.