updateShortcutItems static method
updateShortcutItems updates shortcut items. If the android IDs or ios actions of the shortcuts are not same, no changes will be reflected. Officially Supported Platforms/Implementations:
- Android
- iOS
Implementation
static Future<void> updateShortcutItems(
{required List<ShortcutItem> shortcutList}) async {
return FlutterShortcutPlatform.instance.updateShortcutItems(shortcutList);
}