Skip to content
pubscout

flutter_svg_image

1.1.0+1, released 4 years ago by an unverified publisher

SVG ImageProvider for Flutter with caching support

$ flutter pub add flutter_svg_image
Source repository

What it does

Provides SVG ImageProvider and widget integrations for Flutter. It parses SVGs using jovial_svg or a WebView and caches files using flutter_cache_manager.

AI-written summary of version 1.1.0+1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to load and cache network SVGs as a standard Flutter ImageProvider
  • You want to render SVGs using jovial_svg or WebView rendering

Skip it when

  • You need a simple vector asset loader without caching or external parsing libraries

Strengths

  • Supports caching of SVG files via flutter_cache_manager
  • Provides options for parsing with jovial_svg or WebView

Weaknesses

  • Limited platform support (Android and iOS)
  • Relies on external heavy dependencies like flutter_inappwebview and jovial_svg

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
4

not documented

import 'package:flutter_svg_image/flutter_svg_image.dart';

Image(
  fit: BoxFit.contain,
  image: SvgImage.cachedNetwork(
    'https://jovial.com/images/jupiter.svg',
  ),
);

Alternatives

Packages that do the same job and could replace flutter_svg_image.

Works with

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