core/commands/native_button/native_button library

Functions

nativeButton(NativeButtonInput input, {HidProcessRunner? runner}) → Future<NativeButtonResult>
Delivers one hardware button press to the recorded device without using the VM. Lock is a power/lock button, not an idempotent request to lock or unlock. Never retries uncertain delivery; never throws.

Typedefs

NativeButtonInput = ({String button})