DVFoldState enum

What the current surface looks like, as a value.

Obtained from context.screen, which reads MediaQuery and therefore registers a dependency: a widget that asks about the screen is rebuilt when the screen changes. DV.Platform.screen answers the same questions without a context, but it reads the raw window and cannot rebuild anything, so it is for code that has no context to offer -- not for build methods. Whether a fold lies flat or is bent.

Inheritance
Available extensions

Values

flat → const DVFoldState
halfOpened → const DVFoldState
unknown → const DVFoldState

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<DVFoldState>
A constant List of the values in this enum, in order of their declaration.