hotkey_manager icon indicating copy to clipboard operation
hotkey_manager copied to clipboard

This plugin allows Flutter desktop apps to defines system/inapp wide hotkey (i.e. shortcut).

Results 16 hotkey_manager issues
Sort by recently updated
recently updated
newest added

hotkey_manger now use the depreacted RawKeyboard class, the new class is [HardwareKeyboard page](https://api.flutter.dev/flutter/services/HardwareKeyboard-class.html). And I found some bugs about RawKeyboard that official has said below: Compared to [RawKeyboard](https://api.flutter.dev/flutter/services/RawKeyboard-class.html) [RawKeyboard](https://api.flutter.dev/flutter/services/RawKeyboard-class.html) is...

Try to bind the `Pause` / `Break` key: Shows in GUI, appears to work.. hotkey never triggers. I loaded the project in the debugger, I am thinking the issue [may...

环境:macos flutter sdk 3.0.1 hotkey_manager: ^0.1.7 HotKey( KeyCode.backquote, modifiers: [KeyModifier.control], scope: HotKeyScope.system, ) KeyCode.backquote报错,使用KeyCode.keyQ就不会 hotkey_manager/HotkeyManagerPlugin.swift:42: Fatal error: Unexpectedly found nil while unwrapping an Optional value

Please consider to give also support for Android (because there are chromebooks)

Gnome with wayland can’t bind hot key. ``` WARNING **: 22:21:22.322: Binding 's' failed! ```

Do not overwrite existing hotkeys with hotkey_manager

macOS 我注册了一个 inApp 级别的快捷键,在其回调函数中执行了 windowManager.hide() 。 同时我还注册一个 system 级别的快捷键,通过回调控制 windowManager 的 hide 和 show 。 通过 inApp 级别的快捷键,hide 软件之后再次 show ,发现其他 inApp 快捷键都失效或者不正常工作了。 我在回调里,通过 Future.delayed 执行 hide 就不会出现这种情况。 ``` Future.delayed(const...

```dart import 'package:flutter/material.dart'; import 'package:hotkey_manager/hotkey_manager.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); await hotKeyManager.unregisterAll(); runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context)...

如果快捷键和输入框出现冲突会出现无法在输入框输入的问题: 比如快捷键设置为空格,那么在所有的TextField中都无法输入空格 先前的版本^0.1.8相反,会出现既能输入又会执行快捷键 现在可行的办法是使用^0.1.8版本,根据焦点判定是否执行快捷键方法: ```dart await hotKeyManager.register( toggle, keyDownHandler: (hotKey) { if(!textController.hasFocus){ // 执行快捷键指令 } }, ); ``` 希望可以在输入的时候判断是否触发快捷键,或者添加回掉函数判断是否要执行快捷键绑定的操作

final HotKey hotKey = HotKey( KeyCode.keyE, modifiers: [KeyModifier.control, KeyModifier.shift], scope: HotKeyScope.system, identifier: 'cunt', ); doesn't work. I have keybinder-3.0 installed. I'm on the latest debian.