anim_svg
Flutter widget for animated SVG. Transpiles SMIL, CSS @keyframes, and Svgator animations to Lottie JSON, rendered by the native thorvg engine.
0.0.5
139 downloads/mo
#1691 most downloaded on pub.dev
robotoss/anim_svg
What this package is like to depend on
Last release 3 months ago
28 Apr 2026
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
4 months old
5 releases · first in 2026
5 releases in the last 12 months
see the full history below
Release timeline
5 releases · Apr 2026 to Apr 2026Releases
latest 5-
0.0.528 Apr 2026Release notes
Open source →Release notes
Open source →- Fixed: Android 15+ 16 KB page size compatibility. The native
libanim_svg_core.so(Rust) andlibthorvg.so(C++, viathorvg_plus 1.1.1) now ship withLOADsegments aligned to 16384 bytes, so they load directly on devices using 16 KB memory pages instead of falling back to page-size-compat mode. Required for Play Console submissions targetingtargetSdk >= 35after Nov 2025 (developer.android.com/16kb-page-size). - Bumped
thorvg_plusconstraint to^1.1.1. - Pinned plugin
ndkVersionto r27 (27.0.12077973) — the lowest NDK whose C/C++ toolchain defaults to 16 KB alignment.
- Fixed: Android 15+ 16 KB page size compatibility. The native
-
0.0.426 Apr 2026Release notes
Open source →Release notes
Open source →- Breaking: minimum Flutter is now
>=3.24.0(was>=3.3.0). Required for theTextureRegistry.SurfaceProducerAPI used bythorvg_plus 1.1.0. - Fixed: long fast-scroll sessions on Android no longer crash the raster
thread inside
SurfaceTexture.updateTexImagewitherror dup'ing fence fd(flutter/flutter#94916, flutter-webrtc/flutter-webrtc#1948). The fix lives inthorvg_plus 1.1.0's migration fromTextureRegistry.createSurfaceTexturetoTextureRegistry.createSurfaceProducer— on API 28+ the engine now selects anImageReader/HardwareBuffer-backed implementation that sidesteps the legacyBufferQueuefence-FD pipeline. API < 28 transparently falls back toSurfaceTexture(no regression). - Bumped
thorvg_plusconstraint to^1.1.0.
- Breaking: minimum Flutter is now
-
0.0.316 Apr 2026Release notes
Open source →- Render optimisation for lists with multiple concurrent animations:
- New
startDelayparameter onAnimSvgView.asset/.string/.network. While the delay is pending the widget renders itsloadingBuilder; this lets callers stagger the initialtvg.load(synchronousSwCanvassetup + first software rasterisation) across frames instead of colliding them in a single frame. Stagger byindex * 20msin aListView.itemBuilderto smooth the initial mount. AnimSvgViewnow wraps its rendered output inRepaintBoundary, so the per-framesetStatethat thorvg_plus issues from its frame callback no longer invalidates the surrounding list/scroll subtree.
- New
- Render optimisation for lists with multiple concurrent animations:
-
0.0.216 Apr 2026Release notes
Open source →- Switch runtime renderer from
thorvg: ^1.0.0to our own source-built forkthorvg_plus: ^1.0.0. Fixes the iOS simulator linker error hit by pub.dev consumers (upstream thorvg.flutter#22). No API changes toAnimSvgView/AnimSvgController.
- Switch runtime renderer from
-
0.0.116 Apr 2026Release notes
Open source →What's Changed
- fix: Resolve ios Emulator launch by @robotoss in #1
- feat: Change parser to rust by @robotoss in #2
- feat: Add Network work with cache by @robotoss in #3
- feat: Prepare package to publish by @robotoss in #4
New Contributors
Full Changelog: https://github.com/robotoss/anim_svg/commits/v0.0.1
Release notes
Open source →- Initial experimental release.
- Pure-Dart SVG → Lottie JSON transpiler; rendering delegated to
package:thorvg(native C++ renderer). - Supported animation sources: SMIL (
<animate>,<animateTransform>,<animateMotion>), CSS@keyframes(with motion path), and the Svgator<script>payload. - Shape primitives (
<path>,<rect>,<circle>,<ellipse>,<line>,<polygon>,<polyline>), gradients (linear/radial with animated stops), and Gaussian blur filter. AnimSvgView.asset/AnimSvgView.stringwidgets withAnimSvgController.- Inline data-URI images; on-the-fly WebP → PNG transcode for thorvg compatibility.