pushShortcutItems static method

Future<void> pushShortcutItems({
  1. required List<ShortcutItem> shortcutList,
})

pushShortcutItems updates dynamic or pinned shortcuts with same android IDs or ios actions and pushes new shortcuts with different IDs. Officially Supported Platforms/Implementations:

  • Android
  • iOS

Implementation

static Future<void> pushShortcutItems(
    {required List<ShortcutItem> shortcutList}) async {
  return FlutterShortcutPlatform.instance.pushShortcutItems(shortcutList);
}