getIconProperties static method

Future<Map<String, int>> getIconProperties()

getIconProperties returns the "maxHeight" and "maxWidth" of the shortcut icon. Example: {"maxHeight": 250, "maxWidth": 200} Officially Supported Platforms/Implementations:

  • Android

Implementation

static Future<Map<String, int>> getIconProperties() {
  return FlutterShortcutPlatform.instance.getIconProperties();
}