getAppIcon static method

Future<Uint8List?> getAppIcon(
  1. String packageName
)

Gets an app icon as PNG bytes, or null when it is unavailable.

Implementation

static Future<Uint8List?> getAppIcon(String packageName) =>
    _invokeMethod<Uint8List>('getAppIcon', {'packageName': packageName});