v1.0.7
flutter_svg_provider
Generate image provider from svg path, uses flutter_svg and http (for network paths) as a dependency.
203Likes 114K30-day downloads150Pub points
AndroidiOSmacOSWindowsLinux
Use svg as image provider.
English project snapshot. Visit GitHub for the latest content.
A Flutter package for using svg in Image widget via custom ImageProvider.
Svg is parsed using flutter_svg dependency.
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),
)
Dependency list 5 items
{"sdk":"flutter"}^1.1.2^2.0.9{"sdk":"flutter"}^2.0.0Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗