IosSimulator class

Inheritance

Constructors

IosSimulator({required String udid, required double logicalWidth, required double logicalHeight, required double devicePixelRatio, required String bridgePath, IosToolchain? toolchain, String hidMode = 'auto', XcTestRunner? runner, double? pixelsPerPoint, InputRoute route = InputRoute.device})
const

Properties

abilities → DeviceAbilities
What this kind of device cannot do.
no setterinherited
bridgePath → String
Path to the compiled glint-iossim Swift binary.
final
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
hidMode → String
The bridge's input transport: auto, dtuhid or indigo.
final
id → String
iOS UDID or Android serial.
no setteroverride
logicalHeight → double
final
logicalWidth → double
Logical size in points (Flutter mode) or screenshot pixels (device mode).
final
pixelsPerPoint → double?
Device mode with a runner: screenshot pixels per point, so pixel coordinates reach the runner as points.
final
platform → DevicePlatform
no setteroverride
route → InputRoute
Where this device's gestures go; see InputRoute.
final
runner → XcTestRunner?
When set, input goes through this XCUITest runner instead of the bridge.
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
toolchain → IosToolchain?
final
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