ViewMode enum
User-selected view-mode pin.
Domain of the per-app pin (AppConfig.viewMode), global pin
(AppSettings.defaultViewMode), and the server-side DSL responsive
hint. auto means "do not pin at this level — defer to the next
source in the priority chain".
Values
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
- value → String
-
Canonical string form (stored in AppConfig / AppSettings / DSL).
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFormFactor(
) → FormFactor? -
Map a concrete (non-
auto) pin to a FormFactor. Returnsnullfor ViewMode.auto so the priority chain can skip it. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Object? raw) → ViewMode - Parse a persisted string pin. Unknown / missing values collapse to ViewMode.auto.