Search packages, repositories and app categories

keyboard_event cover
Package detailsv0.3.4

keyboard_event

Keyboard event plugin for Flutter Desktop(Windows)

Windows
30-day downloads
60
Likes
29
Pub points
120

Install package

flutter pub add keyboard_event

Package Overview

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

The keyboard_event package enables Flutter desktop applications on Windows to capture and respond to low-level keyboard events. It provides access to key press, release, and repeat events, allowing developers to build applications that require precise keyboard input handling, such as gaming, productivity tools, or custom keyboard shortcuts. The plugin integrates seamlessly with Flutter's event system and works specifically for Windows platforms. It is ideal for use cases where standard Flutter keyboard listeners are insufficient.

Use cases

  • Custom keyboard shortcuts
  • Gaming input handling
  • Accessibility tools
  • Text editor enhancements
  • System-level hotkeys

Key features

  • Low-level keyboard event capture
  • Windows-only support
  • Real-time key state monitoring
  • Simple API integration
  • Supports key combinations

Suitable for

  • Desktop Windows apps
  • Input-intensive applications
  • Advanced keyboard interaction
  • Developers needing raw keyboard data

Considerations

  • Limited to Windows platform
  • Requires native code execution
  • May conflict with system-wide hotkeys
  • Not suitable for mobile or web
  • Potential performance impact with high-frequency events

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

keyboard_event

ScreenRecording

Flutter Plugin for Windows to catch ALL keyboard events, even if you are using other programs;

This Plugin use Windows 's SetWindowsHookEx API. click the links for details.

WH_KEYBOARD_LL :
Installs a hook procedure that monitors low-level keyboard input events. For more information, see the LowLevelKeyboardProc hook procedure.

Getting Started

See example demo

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package