ShortcutManager constructor
- 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,
}) : _shortcuts = shortcuts {
if (kFlutterMemoryAllocationsEnabled) {
ChangeNotifier.maybeDispatchObjectCreation(this);
}
}