AndroidAppInfo class
Model for app information
- Annotations
Constructors
- AndroidAppInfo({required String packageName, required String displayName, required String categoryName, required int category, required Uint8List iconBytes})
-
Model for app information. All fields are required.
Matches fields found at https://developer.android.com/reference/android/content/pm/ApplicationInfo#fields
const
-
AndroidAppInfo.fromMap(Map<
String, dynamic> map) -
Converts native platform data to a Flutter-friendly data model.
factory
Properties
- category → int
-
Category of the app
https://developer.android.com/reference/android/content/pm/ApplicationInfo#category
final
- categoryName → String
-
Return a concise, localized title for the given
https://developer.android.com/reference/android/content/pm/ApplicationInfo#getCategoryTitle(android.content.Context,%20int)
final
- displayName → String
-
Label for the application
https://developer.android.com/reference/android/content/pm/PackageManager#getApplicationLabel(android.content.pm.ApplicationInfo)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconBytes → Uint8List
-
Retrieve the current graphical icon associated with this item without the addition of a work badge if applicable.
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadUnbadgedIcon(android.content.pm.PackageManager)
final
- packageName → String
-
Name of the package that this item is in.
https://developer.android.com/reference/android/content/pm/PackageItemInfo#packageName
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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