Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 991 Bytes

File metadata and controls

37 lines (24 loc) · 991 Bytes

Flutter Keyboard Shortcuts Demo

Banner

This Flutter project demonstrates how to add native-feeling keyboard shortcuts to your app using only built-in widgets — no plugins required.

Features

  • Keyboard shortcuts using Shortcuts, Actions, and Focus
  • Ctrl+S → Show a SnackBar
  • Ctrl+F → Open a dialog
  • (Right Arrow) → Trigger a debug action
  • Easily extendable for productivity, editor, or admin tools

Built With

  • Flutter SDK (no external packages)
  • Desktop and Web compatible

Getting Started

  1. Clone or unzip the repo
  2. Run flutter pub get
  3. Launch on Web (flutter run -d chrome)
  4. Try pressing Ctrl+S, Ctrl+F, or the right arrow key

Article

This demo accompanies a full tutorial:

Add Keyboard Shortcuts to Your Flutter App (No Plugins Needed)

Copyright

Copyright © 2025 Dom Jocubeit

License

MIT