super_hot_key

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

super hot key

Features #
System-wide hotkeys for macOS and Windows.
Usage #
final hotKey = await HotKey.create(
definition: HotKeyDefinition(
key: PhysicalKeyboardKey.minus,
alt: true,
meta: true,
),
callback: () {
print('hot key pressed');
},
);

// .. Meta + Alt + Minus will trigger the callback regardless of whether
// the application is in focus

// Unregister the hot key
hotKey.dispose();
copied to clipboard
Additional information #
Hot keys are registered on physical keys. To convert between physical and logical keys you can use the super_keyboard_layout package.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.