getIconProperties static method
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();
}