MultiScreenLayoutInfoModel class
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.
no setterinherited
- platformDisplayFeature → PlatformDisplayFeature
-
The Platform Information about the folding display feature
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(
{PlatformDisplayFeature? platformDisplayFeature, SurfaceDuoInfoModel? surfaceDuoInfoModel}) → MultiScreenLayoutInfoModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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