AppInfo class

AppInfo containing Application information obtained from Applications's list.

This represents a package label as label, package name as packageName and icon iconData as a Uint8List.

Flutter Image widget can be obtained from getIconAsImage. Color palette for icon can be obtained through getIconPalette.

Constructors

AppInfo({String label, String packageName, Uint8List iconData })

Properties

iconData ↔ Uint8List
read / write
label ↔ String
read / write
packageName ↔ String
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getIconAsImage() → Image
Creates a flutter Image widget from obtained iconData Uint8List
getIconPalette() → Future<PaletteGenerator>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited