PrismCompactBehavior enum
How the detail pane is presented on compact (phone-width) windows.
Values
- push → const PrismCompactBehavior
-
Pushes the detail as a full-screen route onto the Navigator, so the user gets the platform back gesture/button for free. Default.
- replace → const PrismCompactBehavior
-
Swaps the master list for the detail view inside this widget — useful when the widget is embedded in layouts that manage their own navigation. The built-in back button clears the selection.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<
PrismCompactBehavior> - A constant List of the values in this enum, in order of their declaration.