ShowTouchesSetting class

Android's show_touches developer setting on one device, switched on for glint and put back as it was; the old value waits in ~/.glint/touches so even a crashed glint restores it at the next attach.

Constructors

ShowTouchesSetting({required String adbPath, required String serial, Map<String, String>? env})

Properties

adbPath → String
final
hashCode → int
The hash code for this object.
no setterinherited
pending → bool
Whether glint switched it on and has not put it back yet.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serial → String
final

Methods

enable() → Future<void>
Switches it on, remembering the value it had unless an earlier switch-on is still unrestored.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restore() → Future<void>
Puts back the value it had before glint switched it on; nothing when glint did not.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited