MultiScreenLayoutInfoModel class Null safety

Contains all multi screen data available

Constructors

MultiScreenLayoutInfoModel({required PlatformDisplayFeature platformDisplayFeature, required SurfaceDuoInfoModel surfaceDuoInfoModel})
MultiScreenLayoutInfoModel.fromPlatform(PlatformInfoModel infoModel)
factory
MultiScreenLayoutInfoModel.unknown()
factory

Properties

foldDirection FoldDirection
Fold direction
latefinal
foldingState FoldingState
Folding state of the device
latefinal
hashCode int
The hash code for this object.
read-onlyinherited
platformDisplayFeature → PlatformDisplayFeature
The Platform Information about the folding display feature
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
surfaceDuoInfoModel → SurfaceDuoInfoModel
Information from the Surface Duo SDK
final

Methods

copyWith({PlatformDisplayFeature? platformDisplayFeature, SurfaceDuoInfoModel? surfaceDuoInfoModel}) MultiScreenLayoutInfoModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
shouldDisplayAcrossScreens([List<MultiScreenType>? disableFor]) bool
Based on the data provided by the system, should the UI span multiple screens. Optionally pass in a list of MultiScreenTypes to opt specific device types out of displaying across screens.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited