LiveActivityImageFromUrl class

Load an image from an url. Image need to have small resolution to be displayed on live activity widget / dynamic island. You can use the resizeFactor to resize the image (1 is the original size).

Inheritance

Constructors

LiveActivityImageFromUrl(String url, {num resizeFactor = 1})

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 pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

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