FLUTTER ECOSYSTEM

hotkey_manager

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

Latest version
0.2.3
30-day downloads
46.9K
Likes
147
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The hotkey_manager package enables Flutter desktop applications to register and respond to system-wide or in-app keyboard shortcuts on macOS, Windows, and Linux. It allows developers to define custom hotkeys that trigger specific actions regardless of the active application, enhancing user productivity and accessibility. The plugin integrates seamlessly with Flutter's event handling, providing a simple API for managing key combinations like Ctrl+Shift+S or Cmd+T. Ideal for apps requiring quick access to features without navigating menus.

Use cases
  • Creating global shortcuts for app actions
  • Enabling rapid access to frequently used functions
  • Improving accessibility through keyboard navigation
  • Building productivity tools with shortcut support
  • Integrating with existing desktop workflows
Key features
  • Supports system-wide hotkeys across platforms
  • Simple API for defining key combinations
  • Cross-platform compatibility (macOS, Windows, Linux)
  • Non-intrusive integration with Flutter apps
  • Handles conflicts and duplicate registrations
Suitable for
  • Desktop app developers targeting multiple operating systems
  • Productivity and utility software
  • Apps requiring advanced keyboard interaction
  • Developers building accessible desktop experiences
Considerations
  • Requires platform-specific permissions on some systems
  • May conflict with existing system shortcuts
  • Limited to desktop platforms only
  • Needs proper cleanup to avoid memory leaks
  • Not suitable for mobile or web applications
Supported platformsmacOSWindowsLinux

Install package

flutter pub add hotkey_manager

Categories

Dependencies

Dependency list 6 items
  • collection^1.17.1
  • hotkey_manager_linux^0.2.0
  • hotkey_manager_macos^0.2.0
  • hotkey_manager_platform_interface^0.2.0
  • hotkey_manager_windows^0.2.0
  • uuid>=3.0.7 <5.0.0

Source repository

Related projects