Skip to content
pubscout

flutter_svga

0.0.14, released 5 weeks ago by 5alafawyyy.com

Flutter SVGA animation player with intelligent caching, audio support, and dynamic elements.

$ flutter pub add flutter_svga
Source repository

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.

  • lottie

    Choose Lottie if you prefer using JSON-based Lottie vector animations instead of the SVGA format.

  • rive

    Choose Rive if you need interactive, state-driven vector animations and game-like motion graphics.

Works with

Packages commonly used together with flutter_svga: ones it builds on, ones built on it, and its own family.