ctrl_alt_foo2 0.4.0 ctrl_alt_foo2: ^0.4.0 copied to clipboard
For creating simple keyboard shortcuts.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ctrl_alt_foo2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ctrl_alt_foo2: ^0.4.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ctrl_alt_foo2/helpers.dart';
import 'package:ctrl_alt_foo2/key_event_x.dart';
import 'package:ctrl_alt_foo2/key_identifier.dart';
import 'package:ctrl_alt_foo2/keys.dart';
import 'package:ctrl_alt_foo2/shortcut.dart';