LiveActivityImage class abstract

Interface for images displayed on live activity widget / dynamic island. The image can be loaded from an asset, an url or from memory.

Implementers

Constructors

LiveActivityImage(num resizeFactor)

Properties

hashCode int
The hash code for this object.
no setterinherited
resizeFactor num
You can use the resizeFactor to resize the image (1 is the original size).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadImage() Future<Uint8List>
Load the image.
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