animated_stickers library

Classes

AssetStickerSource
See StickerSource.asset.
BytesFetchResult
See StickerFetchResult.bytes.
BytesStickerSource
See StickerSource.bytes.
FileFetchResult
See StickerFetchResult.file.
FileStickerSource
See StickerSource.file.
NetworkStickerSource
See StickerSource.network.
Sticker
An animated sticker: VP9/VP8 WebM with alpha, animated WebP or GIF.
StickerAtlasScope
Draws the Stickers below it through a few shared atlas textures instead of a texture each: the way to show many stickers at once, such as a grid or a picker.
StickerCacheStats
How much the frame cache holds, from Stickers.cacheStats.
StickerConfig
Settings for Stickers.configure: the frame cache and the device tier.
StickerController
Plays, pauses and seeks the Stickers it is given to.
StickerFetcher
Downloads stickers for StickerSource.network.
StickerFetchResult
What a StickerFetcher found: a file the core can read, or the bytes.
StickerInfo
What Stickers.probe learns about a sticker without decoding pixels.
StickerLimits
Safety limits applied to untrusted sticker input. A null field keeps the native default (wt_limits_init_default): 1024 px, 10 s, 2 MiB, 600 frames. A field must be at least 1 (and maxDimension, maxFrames and maxDuration in milliseconds at most 2^32 - 1), or using the limits throws a RangeError.
Stickers
Entry points of the plugin that don't need a widget.
StickerSource
Where a sticker's encoded bytes come from.

Enums

StickerCodec
Codec of the frames inside a sticker.
StickerFormat
Container format of a sticker.
StickerTier
How much work the plugin allows itself: frame rate and how many stickers play at once.

Typedefs

StickerErrorWidgetBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)
Builds what a Sticker shows when its sticker can't be played, like Flutter's ImageErrorWidgetBuilder.

Exceptions / Errors

StickerException
Thrown when the native core rejects a sticker or can't be loaded.