getMaxShortcutLimit static method

Future<int?> getMaxShortcutLimit()

getMaxShortcutLimit returns the maximum number of static or dynamic shortcuts that each launcher icon can have at a time. Officially Supported Platforms/Implementations:

  • Android

Implementation

static Future<int?> getMaxShortcutLimit() {
  return FlutterShortcutPlatform.instance.getMaxShortcutLimit();
}