AndroidDevice class
- Inheritance
-
- Object
- DeviceTarget
- AndroidDevice
Constructors
- AndroidDevice({required String serial, String adbPath = 'adb', double? screenWidth, double? screenHeight, double devicePixelRatio = 1.0, AndroidServer? server, InputRoute route = InputRoute.device})
-
const
Properties
- abilities → DeviceAbilities
-
What this kind of device cannot do.
no setterinherited
- adbPath → String
-
final
- devicePixelRatio → double
-
1.0 in device mode (adb takes physical pixels); the real DPR in Flutter
mode so logical-point coordinate gestures scale to physical pixels.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
iOS UDID or Android serial.
no setteroverride
- 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
- screenHeight → double?
-
final
- screenSize → ({double h, double w})?
-
Screen size for device-mode center anchoring, or null if unknown.
no setteroverride
- screenWidth → double?
-
Screen pixels, set in device mode (from a screenshot); null in Flutter mode.
final
- serial → String
-
adb
-sserial, e.g.emulator-5554.final - server → AndroidServer?
-
glint's resident server on this device, when attach could start it.
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