ShortcutManager constructor

ShortcutManager({
  1. Map<ShortcutActivator, Intent> shortcuts = const <ShortcutActivator, Intent>{},
  2. bool modal = false,
})

Constructs a ShortcutManager.

Implementation

ShortcutManager({this._shortcuts = const <ShortcutActivator, Intent>{}, this.modal = false}) {
  if (kFlutterMemoryAllocationsEnabled) {
    ChangeNotifier.maybeDispatchObjectCreation(this);
  }
}