shortcuts property

Map<ShortcutActivator, Intent> shortcuts

Gets the combined shortcut bindings from all contexts that are registered with this ShortcutRegistry.

Listeners will be notified when the value returned by this getter changes.

Returns a copy: modifying the returned map will have no effect.


Map<ShortcutActivator, Intent> get shortcuts {
  return <ShortcutActivator, Intent>{
    for (final MapEntry<ShortcutRegistryEntry, Map<ShortcutActivator, Intent>> entry in _registeredShortcuts.entries)