MethodChannelAppInfoFlutter class
An implementation of AppInfoFlutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AppInfoFlutterPlatform
- MethodChannelAppInfoFlutter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAppIcon(
) → Future< Uint8List?> -
Returns the app icon as bytes.
override
-
getAppName(
) → Future< String?> -
Returns the application name using the platform channel.
override
-
getAppSize(
) → Future< int?> -
Returns the total installed app size in bytes.
override
-
getBuildNumber(
) → Future< String?> -
Returns the build number using the platform channel.
override
-
getBuildType(
) → Future< BuildType?> -
Returns the build type.
override
-
getCacheSize(
) → Future< int?> -
Returns the cache size in bytes.
override
-
getDeclaredPermissions(
) → Future< List< String> ?> -
Returns a list of declared permissions.
override
-
getFirstInstallTime(
) → Future< DateTime?> -
Returns the first install time.
override
-
getGrantedPermissions(
) → Future< List< String> ?> -
Returns a list of granted permissions.
override
-
getInstallerPackageName(
) → Future< String?> -
Returns the installer package name.
override
-
getLastUpdateTime(
) → Future< DateTime?> -
Returns the last update time.
override
-
getMinSdkVersion(
) → Future< int?> -
Returns the minimum SDK version.
override
-
getPackageName(
) → Future< String?> -
Returns the package name or bundle identifier using the platform channel.
override
-
getTargetSdkVersion(
) → Future< int?> -
Returns the target SDK version.
override
-
getVersion(
) → Future< String?> -
Returns the version string using the platform channel.
override
-
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