Shortcuts constructor

const Shortcuts({
  1. Key? key,
  2. required Map<ShortcutActivator, Intent> shortcuts,
  3. required Widget child,
})

Creates a Shortcuts widget with the given shortcuts map.

Implementation

const Shortcuts({super.key, required this.shortcuts, required this.child});