AppInfoFlutterPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AppInfoFlutterPlatform
- Implementers
Constructors
- AppInfoFlutterPlatform()
- Constructs a AppInfoFlutterPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< bool> - Clears the application's cache directory (Android only).
-
getApkSize(
) → Future< int?> - Returns the size of the APK file in bytes (Android only).
-
getAppIcon(
) → Future< Uint8List?> - Returns the app icon as bytes (Android only).
-
getAppInfo(
) → Future< AppInfoData> - Returns a consolidated AppInfoData object containing all metadata.
-
getAppName(
) → Future< String?> - Returns the application name.
-
getAppSize(
) → Future< int?> - Returns the total installed app size in bytes (Android only).
-
getBuildNumber(
) → Future< String?> - Returns the build number of the application.
-
getBuildType(
) → Future< BuildType?> - Returns the build type (Android only).
-
getCacheSize(
) → Future< int?> - Returns the cache size in bytes (Android only).
-
getDeclaredPermissions(
) → Future< List< String> ?> - Returns a list of declared permissions (Android only).
-
getFirstInstallTime(
) → Future< DateTime?> - Returns the first install time (Android only).
-
getGrantedPermissions(
) → Future< List< String> ?> - Returns a list of granted permissions (Android only).
-
getInstallerPackageName(
) → Future< String?> - Returns the installer package name (e.g., com.android.vending for Play Store) (Android only).
-
getLastUpdateTime(
) → Future< DateTime?> - Returns the last update time (Android only).
-
getMinSdkVersion(
) → Future< int?> - Returns the minimum SDK version (Android only).
-
getPackageName(
) → Future< String?> - Returns the package name (Android) or bundle identifier (iOS).
-
getSignature(
) → Future< String?> - Returns the SHA-256 fingerprint of the app signature (Android only).
-
getSignatures(
) → Future< List< String> ?> - Returns a list of SHA-256 fingerprints for all app signing certificates (Android only).
-
getTargetSdkVersion(
) → Future< int?> - Returns the target SDK version (Android only).
-
getVersion(
) → Future< String?> - Returns the version of the application.
-
isPhysicalDevice(
) → Future< bool?> - Returns true if running on a physical device, false if running on an emulator (Android only).
-
isStoreVersion(
) → Future< bool?> - Returns true if installed from a known store (Android only).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppInfoFlutterPlatform
-
The default instance of AppInfoFlutterPlatform to use.
getter/setter pair