MultiScreenLayoutInfoModel class

Contains all multi screen data available

Constructors

MultiScreenLayoutInfoModel({required DevicePosture posture, required SurfaceDuoInfoModel surfaceDuoInfoModel, required FoldDirection foldDirection})
MultiScreenLayoutInfoModel.fromPlatform(PlatformInfoModel info)
factory
MultiScreenLayoutInfoModel.unknown()
factory

Properties

foldDirection FoldDirection
Fold direction
final
hashCode int
The hash code for this object.
no setterinherited
posture DevicePosture
Posture of the device
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surfaceDuoInfoModel → SurfaceDuoInfoModel
Information from the Surface Duo SDK
final

Methods

copyWith({DevicePosture? posture, FoldDirection? foldDirection, SurfaceDuoInfoModel? surfaceDuoInfoModel}) MultiScreenLayoutInfoModel
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