flutter_svga 0.0.13
flutter_svga: ^0.0.13 copied to clipboard
Flutter SVGA player with intelligent caching, audio support, and dynamic elements. Active replacement for archived svgaplayer_flutter.
0.0.13 - 2026-01-20 #
π New Features #
- Volume Control (#9, PR #10): Added audio volume control to
SVGAAnimationControllercontroller.volume = 0.5β Set volume level (0.0 to 1.0)controller.muted = true/falseβ Toggle mute without losing volume setting- Thanks to @Sansuihe for the contribution!
β‘ Performance Improvements #
- Memory Optimization (#8): Reduced Dart heap memory usage by clearing protobuf internal structures after parsing
- Added
freeze()method toMovieEntitythat clears raw image data after extraction - Addresses high memory from
FieldSet,PbList, andFrameEntityinstances - Thanks to @jianleepb for reporting!
- Added
0.0.12 - 2025-12-24 #
π Improvements #
- Updated Dart SDK constraint to
^3.10.4for compatibility with Flutter 3.38.5
π Maintenance #
- Shortened package description for pub.flutter-io.cn compliance (under 180 characters)
- Fixed lint warnings in generated protobuf files by adding
no_leading_underscores_for_local_identifiersto ignore rules
0.0.11 - 2025-12-10 #
π Documentation #
-
Enhanced README with competitive positioning
- Added "Why flutter_svga?" section highlighting active maintenance vs archived
svgaplayer_flutter - Added comparison table (flutter_svga vs svgaplayer_flutter vs Lottie)
- Added migration guide for users switching from
svgaplayer_flutter
- Added "Why flutter_svga?" section highlighting active maintenance vs archived
-
Improved SEO & Discoverability
- Updated
pubspec.yamldescription with better keywords (actively maintained, alternative, replacement) - Added relevant topics: animation, svga, vector-graphics, lottie-alternative, ui-effects
- Updated
0.0.10 - 2025-12-03 #
π Documentation #
- Updated README to version 0.0.10 for pub.flutter-io.cn visibility
- Added contributors @Sansuihe and @tungpham6195 to README
0.0.9 - 2025-12-03 #
π Fixes #
- Fixed audio cache collision bug where different SVGA files with the same
audioKeybut different audio content incorrectly shared cached files (#6).
Now uses MD5 hash of audio data to ensure unique cache files.
(Thanks to @Sansuihe for reporting and suggesting the fix.)
π Improvements #
- Protobuf dependency updated to
^6.0.0, ensuring compatibility withretrofit_generator >=10.1.0(#7).
(Thanks to @tungpham6195 for reporting.)
0.0.8 - 2025-10-18 #
π Fixes #
- Fixed repeated music playback bug when reusing the same audio key.
(Thanks to @wonderkidshihab for the PR and @Sansuihe for reporting.)
π Improvements #
- Optimized audio handling and cache logic for better playback stability.
- Updated README and credits for contributors.
- Version bump for pub.flutter-io.cn publication.
0.0.7 - 2025-10-18 #
0.0.6 - 2025-06-26 #
0.0.4 Update (2025-02-09) #
π₯ New Features & Improvements #
- β
Added Audio Support: Integrated audio playback within SVGA animations using the
audioplayerspackage.
0.0.3 Update (2025-01-30) #
π₯ New Features & Improvements #
- β Added Pause & Resume Playback Functions for SVGA animations.
- β Enhanced Error Handling & Logging for better debugging.
- β Improved Performance when loading SVGA animations.
π Fixes & Optimizations #
- π Fixed potential crashes when loading SVGA assets.
- π Optimized memory usage for large SVGA files.
- π Improved logging messages for debugging.
0.0.2 Update (2025-01-30) #
π₯ Updates & Improvements #
- β Added example GIFs for better demonstration.
- β Supported all platforms including Web & Desktop.
0.0.1 Initial Release (2025-01-29) #
π New Features #
- β Added support for SVGA parsing and rendering.
- β Load SVGA animations from assets and network URLs.
- β Implemented SVGAAnimationController for playback control.
- β Dynamic entity support (text & images).
- β Optimized performance for smooth animations.