CommandBarItemDisplayMode enum
When a CommandBarItem is being built, indicates the visual context in which the item is being built.
Constructors
- CommandBarItemDisplayMode()
-
const
Values
- inPrimary → const CommandBarItemDisplayMode
-
The item is displayed in the horizontal area (primary command area) of the command bar.
The item should be rendered by wrapping content in a CommandBarItemInPrimary widget.
- inPrimaryCompact → const CommandBarItemDisplayMode
-
The item is displayed in the horizontal area (primary command area) of the command bar, but it is requested that the item take up less horizontal space so that more items may fit without overflow.
The item should be rendered by wrapping content in a CommandBarItemInPrimary widget.
- inSecondary → const CommandBarItemDisplayMode
-
The item is displayed within the secondary command area (within a Flyout as a drop down of the "more" button).
Normally you would want to render an item in this visual context as a ListTile.
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<
CommandBarItemDisplayMode> - A constant List of the values in this enum, in order of their declaration.