shortcuts property

Map<ShortcutActivator, Intent>? shortcuts
final

The application's keyboard shortcut map.

In tests, this allows registering custom keyboard shortcuts to verify that key combinations trigger the expected Intents.

When null, WidgetsApp.defaultShortcuts are used.

See also:

Implementation

final Map<ShortcutActivator, Intent>? shortcuts;