Application class

An application installed on the device Depending on the Android version, some attributes may not be available

Implementers

Properties

apkFilePath String
Full path to the base APK for this application
final
appName String
Displayable name of the application
final
category ApplicationCategory
The category of this application The information may come from the application itself or the system
final
dataDir String?
Full path to the default directory assigned to the package for its persistent data
final
enabled bool
Whether the app is enabled (installed and visible) or disabled (installed, but not visible)
final
hashCode int
The hash code for this object.
no setteroverride
installTimeMillis int
The time at which the app was first installed
final
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
final
updateTimeMillis int
The time at which the app was last updated
final
versionCode int
Unique version id for the application
final
versionName String?
Public name of the application (eg: 1.0.0) The version name of this package, as specified by the
final

Methods

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

Operators

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