getAppIcon static method

Future<Uint8List> getAppIcon()

Loads the app icon as a simple raw bitmap. This should be PNG encoded, but it is not guaranteed to be a PNG.

Implementation

static Future<Uint8List> getAppIcon() async {
  final Uint8List hasAdaptiveIcon = await _channel.invokeMethod('bitmapIcon');
  return hasAdaptiveIcon;
}