Shortcuts.manager constructor
- Key? key,
- required ShortcutManager manager,
- required Widget child,
- String? debugLabel,
Creates a const Shortcuts widget that uses the manager to manage the map of shortcuts.
If this constructor is used, shortcuts will return the contents of ShortcutManager.shortcuts.
Implementation
const Shortcuts.manager({
super.key,
required ShortcutManager this.manager,
required this.child,
this.debugLabel,
}) : _shortcuts = const <ShortcutActivator, Intent>{};