getIcon method

Future<Uint8List> getIcon(
  1. String packageName
)

Retrieves the icon of the specified package.

This method takes the packageName as a parameter and returns a Future that resolves to a Uint8List containing the icon data of the package. If the method is not implemented, it throws an UnimplementedError.

  • Parameter packageName: The name of the package whose icon is to be retrieved.
  • Returns: A Future that resolves to the icon data as a Uint8List.

Implementation

Future<Uint8List> getIcon(String packageName) {
  throw UnimplementedError();
}