flutter_svga
0.0.14, released 5 weeks ago by 5alafawyyy.com
Flutter SVGA animation player with intelligent caching, audio support, and dynamic elements.
What it does
Parses and renders SVGA vector animations in Flutter. It includes automatic disk caching, built-in audio playback with volume controls, and support for dynamic text, image replacement, and custom canvas drawing layers.
AI-written summary of version 0.0.14, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to render SVGA animation files from assets or remote URLs
- Your animations require synchronized audio playback with volume control
- You want to dynamically modify text or swap images inside running vector animations
Skip it when
- You prefer standard Lottie JSON animations and already use the lottie package
- You do not need SVGA format or vector animations
Strengths
- Active replacement for the archived svgaplayer_flutter package
- Built-in automatic disk caching with cache expiration and size limits
- Integrated audio playback with volume and mute architecture
- Memory optimized with automatic protobuf heap release
Weaknesses
- Limited to the SVGA animation format ecosystem
- Requires managing animation controllers for advanced playback control
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
not documented
SVGAEasyPlayer(
resUrl: 'https://cdn.jsdelivr.net/gh/svga/SVGA-Samples@master/EmptyState.svga',
fit: BoxFit.cover,
)Alternatives
Packages that do the same job and could replace flutter_svga.
Works with
Packages commonly used together with flutter_svga: ones it builds on, ones built on it, and its own family.
- archiveflutter_svga depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- cryptoflutter_svga depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- path_providerflutter_svga depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- protobufflutter_svga depends on itProvides runtime support for Dart protocol buffer messages generated by protoc_plugin.
- audioplayersflutter_svga depends on itA Flutter plugin to play multiple audio files simultaneously
- path_drawingflutter_svga depends on itA Flutter library to help with Canvas Path creation and manipulation.