DeviceInfo class abstract
Combines MobileDeviceType
and DeviceSize
.
Constructors
- DeviceInfo(MediaQueryData data, Size localWidgetSize)
-
factory
Properties
- columns → int
-
Returns the recommended number of grid layout columns.
no setter
- deviceSize → DeviceSize
-
Determines the symbolic size of a device.
no setter
- deviceType → DeviceType
-
Determines whether the device is a handset or tablet.
no setter
- gutter → double
-
Returns the recommended gutter width, in logical pixels.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- localWidgetSize → Size
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSize → Size
-
final
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.
inherited