IosDevice class

A paired physical iPhone: input inside the Flutter app where it can, real touches through Device Hub for everything else, screenshots through devicectl.

Inheritance

Constructors

IosDevice({required String udid, required double logicalWidth, required double logicalHeight, required double devicePixelRatio, InputRoute route = InputRoute.auto})
const

Properties

abilities → DeviceAbilities
What this kind of device cannot do.
no setteroverride
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.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
iOS UDID or Android serial.
no setteroverride
logicalHeight → double
final
logicalWidth → double
final
platform → DevicePlatform
no setteroverride
route → InputRoute
Where this device's gestures go; see InputRoute.
final
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 setteroverride
udid → String
final

Methods

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