DualScreenCapabilities class final

Runtime feature support for the current device and OS state.

Annotations

Constructors

DualScreenCapabilities({bool platformSupported = false, bool hingeAngleSensor = false, bool layoutFeatures = false, bool reservedRegionGeometry = false, bool rearDisplay = false, bool dualScreenPresentation = false})
Creates an immutable capability snapshot.
const
DualScreenCapabilities.fromMap(Map<Object?, Object?> map)
Defensively decodes a native capability dictionary.
factory

Properties

dualScreenPresentation → bool
Whether a secondary Flutter presentation is supported.
final
hashCode → int
The hash code for this object.
no setteroverride
hingeAngleSensor → bool
Whether continuous angle telemetry is available.
final
layoutFeatures → bool
Whether physical layout features are available.
final
platformSupported → bool
Whether at least one foldable API is supported.
final
rearDisplay → bool
Whether rear-display activity transfer is supported.
final
reservedRegionGeometry → bool
Whether native reserved-region geometry is available.
final
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.
override