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';
Image(
width: 32,
height: 32,
image: Svg('assets/my_icon.svg'),
)