NoneDevice class

Implemented types
Available extensions

Properties

canRotate bool

Available on DeviceInfo, provided by the DeviceInfoExtension extension

Indicates whether the device can rotate.
no setter
copyWith → $DeviceInfoCopyWith<DeviceInfo>
no setter
framePainter CustomPainter
The safe areas when the device is in portrait orientation.
no setter
frameSize Size
The frame size in pixels.
no setter
hashCode int
The hash code for this object.
no setterinherited
identifier DeviceIdentifier
Identifier of the device.
no setter
name String
The display name of the device.
no setter
pixelRatio double
The screen pixel density of the device.
no setter
rotatedSafeAreas EdgeInsets?
The safe areas when the device is in landscape orientation.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeAreas EdgeInsets
The safe areas when the device is in portrait orientation.
no setter
screenPath Path
A shape representing the screen.
no setter
screenSize Size
The size in points of the screen content.
no setter

Methods

isLandscape(Orientation orientation) bool

Available on DeviceInfo, provided by the DeviceInfoExtension extension

Indicates whether the current device info should be in landscape.
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

instance → const NoneDevice