shortcuts property Null safety

Map<ShortcutActivator, Intent> shortcuts

The map of shortcuts that the ShortcutManager will be given to manage.

For performance reasons, it is recommended that a pre-built map is passed in here (e.g. a final variable from your widget class) instead of defining it inline in the build function.


final Map<ShortcutActivator, Intent> shortcuts;