getShortcutIcon method
Implementation
static Future<Image> getShortcutIcon({String packageName, String shortcutID, double width = 50, double height = 50}) async
{
var args= {'packageName': packageName, 'shortcutID': shortcutID};
final Uint8List icon = await _channel.invokeMethod("getShortcutIcon", args);
return Image.memory(icon, width: width, height: height,);
}