Application class

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

Implementers

Constructors

Application.fromMap(Map map)

Properties

apkFilePath → String
Full path to the base APK for this application
final
apkSize → int
Size in bytes of the APK(s): the base APK plus all split APKs
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
installTime → DateTime
Time at which the app was first installed
no setter
installTimeMillis → int
The time at which the app was first installed
final
launchable → bool
Whether the app has an entrypoint (= visible in a launcher)
final
minSdkVersion → int?
The minimum Android API level required by the app (null on Android < 24)
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
targetSdkVersion → int
The Android API level the app targets
final
updateTime → DateTime
Time at which the app was last updated
no setter
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

loadDetails() → Future<ApplicationDetails?>
loadIcon({int? iconSize}) → Future<Uint8List?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openApp() → Future<bool>
openInStore() → 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