full_svg_flutter
1.5.4, released 2 weeks ago by denisnadey.com
Complete SVG runtime for Flutter with support for static vectors, SMIL, CSS, and filters.
What it does
Renders static and animated SVG files directly inside Flutter without needing Lottie, Rive, or a WebView. It includes support for SMIL, CSS keyframes, path morphing, filters, and a JavaScript engine for script-driven SVGs.
AI-written summary of version 1.5.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to render animated SVG files that use SMIL or CSS keyframes.
- You want a drop-in flutter_svg replacement with enhanced filter and mask fidelity.
- You need to control SVG animation playback programmatically.
Skip it when
- You only need basic, static SVG rendering and want to minimize dependency weight.
- You require complex web-based script execution inside web builds (scripts are skipped on the web).
Strengths
- Supports both static and animated SVGs without conversion steps.
- Compatible with the flutter_svg API for easy migration.
- Comprehensive SVG feature support including filters, masks, and text rendering.
Weaknesses
- Inline script execution is skipped on the web platform.
- Adds a native rendering engine dependency for advanced features.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Add the dependency to pubspec.yaml and import full_svg_flutter.
import 'package:full_svg_flutter/full_svg_flutter.dart';
FSvgPicture.asset('assets/spinner.svg', width: 48, height: 48);Alternatives
Packages that do the same job and could replace full_svg_flutter.
- flutter_svg
If you only need static SVG rendering and want a lightweight solution without animation runtimes.
100Compare
Works with
Packages commonly used together with full_svg_flutter: ones it builds on, ones built on it, and its own family.