DeviceTarget class sealed

One device glint can drive; hides the AdbBackend / IosSimBackend choice and the per-platform coordinate math.

Implementers

Properties

abilities → DeviceAbilities
What this kind of device cannot do.
no setter
devicePixelRatio → double
Logical-coords→physical-pixels scale. Device mode passes screenshot pixels (1.0); Flutter mode passes logical points, so this is the real DPR.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
iOS UDID or Android serial.
no setter
platform → DevicePlatform
no setter
route → InputRoute
Where this device's gestures go; see InputRoute.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenSize → ({double h, double w})?
Screen size for device-mode center anchoring, or null if unknown.
no setter

Methods

createBackend() → InteractionBackend
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