DeviceSpec class
A logical screen size the app is rendered at.
Constructors
Properties
- dpr → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeBottom → double
-
final
- safeTop → double
-
System insets in dp (status bar / navigation bar). Applied as the
view padding so
SafeAreaandMediaQuery.paddingbehave as on a device, and drawn as translucent bands on the screenshot.final - width → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited