ShortcutManager constructor

ShortcutManager({
  1. Map<ShortcutActivator, Intent> shortcuts = const <ShortcutActivator, Intent>{},
  2. 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);
  }
}