AppIconInfo class

Constructors

AppIconInfo()

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

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 Methods

getAdaptiveIcon() Future<AdaptiveIcon>
Loads the app icon as an AdaptiveIcon. This should be PNG encoded, but it is not guaranteed to be a PNG.
getAppIcon() Future<Uint8List>
Loads the app icon as a simple raw bitmap. This should be PNG encoded, but it is not guaranteed to be a PNG.
hasAdaptiveIcon() Future<bool>
Checks if the application has an AdaptiveIcon as app icon. On platform other than Android this returns false. On Android SDK levels smaller than API Level 26 (https://developer.android.com/about/versions/oreo/android-8.0) this returns false.