ShortcutsViewerDialog constructor

const ShortcutsViewerDialog({
  1. Key? key,
  2. required Map<LogicalKeySet, String> shortcuts,
  3. Map<String, NodeFlowAction> actions = const {},
})

Creates a shortcuts viewer dialog.

Parameters:

  • shortcuts: A map of keyboard shortcuts to action IDs
  • actions: A map of action IDs to NodeFlowAction objects for metadata

Implementation

const ShortcutsViewerDialog({
  super.key,
  required this.shortcuts,
  this.actions = const {},
});