getIconProperties method

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

getIconProperties returns the "maxHeight" and "maxWidth" of the shortcut icon. Example: {"maxHeight": 250, "maxWidth": 200}

Implementation

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