svga_next 0.1.2 copy "svga_next: ^0.1.2" to clipboard
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 cacheKey to SvgaSource.file so 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 .matte suffix. 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.
0
likes
160
points
125
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

High-performance SVGA player for Flutter. Background-isolate parsing, streaming protobuf decode, GPU pre-decoding, audio, dynamic images, text and custom drawers.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive, flutter

More

Packages that depend on svga_next