ApplicationWithIcon class

If the includeAppIcons attribute is provided, this class will be used. To display an image simply use the Image.memory widget. Example:

Image.memory(app.icon)
Inheritance

Properties

apkFilePath String
Full path to the base APK for this application
finalinherited
appName String
Displayable name of the application
finalinherited
category ApplicationCategory
The category of this application The information may come from the application itself or the system
finalinherited
dataDir String?
Full path to the default directory assigned to the package for its persistent data
finalinherited
enabled bool
Whether the app is enabled (installed and visible) or disabled (installed, but not visible)
finalinherited
hashCode int
The hash code for this object.
no setteroverride
icon Uint8List
Icon of the application to use in conjunction with Image.memory
no setter
installTimeMillis int
The time at which the app was first installed
finalinherited
packageName String
Name of the package
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemApp bool
Whether the application is installed in the device's system image An application downloaded by the user won't be a system app
finalinherited
updateTimeMillis int
The time at which the app was last updated
finalinherited
versionCode int
Unique version id for the application
finalinherited
versionName String?
Public name of the application (eg: 1.0.0) The version name of this package, as specified by the
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openApp() Future<bool>
inherited
openSettingsScreen() Future<bool>
inherited
toString() String
A string representation of this object.
inherited
uninstallApp() Future<bool>
inherited

Operators

operator ==(Object other) bool
The equality operator.
override