svga_next 0.1.2
svga_next: ^0.1.2 copied to clipboard
High-performance SVGA player for Flutter. Background-isolate parsing, streaming protobuf decode, GPU pre-decoding, audio, dynamic images, text and custom drawers.
Changelog #
0.1.2 #
- Add
SvgaConfig.maxConcurrentLoads, defaulting to 2, to limit uncached loads through parsing and image decoding. Cache hits and shared in-flight loads bypass the FIFO queue. - Add
SvgaMovie.layoutSizeOf(key)to read a slot's native size in viewBox units from its first visible frame with positive dimensions, before its transform. - Add an optional
cacheKeytoSvgaSource.fileso files at different paths can share a cached movie.
0.1.1 #
- Fix the example dependency conflict by resolving both svga_next and its audio backend from pub.dev.
- Fix bitmap mattes rendering blank when the mask image is stored without the
.mattesuffix. The painter now tries the exact matte key first and then the key without.matte.
0.1.0 #
- Initial release of the Flutter SVGA player with SVGA 1.x and 2.x decoding.
- Load animations from assets, files, URLs, or bytes with background parsing and image caching.
- Control playback, loops, frame ranges, speed, and dynamic images, text, and drawing.
- Schedule embedded audio through optional audio backends.