keyboard_invoker 2.0.0
keyboard_invoker: ^2.0.0 copied to clipboard
This plugin allows you to invoke keystrokes on the host machine from a Flutter application. It also has a built-in Recorder that allows you to record and replay keystrokes.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add keyboard_invoker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
keyboard_invoker: ^2.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:keyboard_invoker/keyboard_invoker.dart';