/flutter_svg_provider

Use svg as image provider.

Primary LanguageDartApache License 2.0Apache-2.0

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'),
)