Search packages, repositories and app categories

GitHub repositoryyang-f/flutter_svg_provider

flutter_svg_provider

Use svg as image provider.

flutter_svg_provider project cover
Stars
47
Forks
73
Last push (UTC)
Sep 25, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

flutter_svg_provider

A Flutter package for using svg in Image widget via custom ImageProvider.

Svg is parsed using flutter_svg dependency.

Getting started

import 'package:flutter_svg_provider/flutter_svg_provider.dart';

final img1 = Image(
  width: 32,
  height: 32,
  image: Svg('assets/my_icon.svg'),
)
final img2 = Image(
  width: 32,
  height: 32,
  image: Svg('<svg>...</svg>',source: SvgSource.raw),
)
FLYING GitHub avatar
GitHub author

FLYING ↗

LanguagesDartObjective-CRubyJava

Categories

Packages published by this repository

Dependencies used

Dependency list 5 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗