showShortcutsDialog method
Shows the keyboard shortcuts dialog.
Displays a comprehensive dialog showing all available keyboard shortcuts organized by category for easy reference.
Parameters:
context: The BuildContext for showing the dialog
Example:
controller.showShortcutsDialog(context);
Implementation
void showShortcutsDialog(BuildContext context) {
// Import will be added at the top when used
showDialog(
context: context,
builder: (context) => ShortcutsViewerDialog(
shortcuts: shortcuts.keyMap,
actions: shortcuts.actions,
),
);
}