ShortcutManager constructor Null safety
- {Map<
ShortcutActivator, Intent> shortcuts = const <ShortcutActivator, Intent>{}, - bool modal = false}
Constructs a ShortcutManager.
Implementation
ShortcutManager({
Map<ShortcutActivator, Intent> shortcuts = const <ShortcutActivator, Intent>{},
this.modal = false,
}) : assert(shortcuts != null),
_shortcuts = shortcuts;