models/live_activity_image library

Classes

LiveActivityImage
Interface for images displayed on live activity widget / dynamic island. The image can be loaded from an asset, an url or from memory.
LiveActivityImageFromAsset
Load an image from Flutter asset. 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).
LiveActivityImageFromMemory
Uses an already loaded image. 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). imageData must contain a valid image imageName must not be empty and can be freely choosen but it has to be unique
LiveActivityImageFromUrl
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).