yang-f / flutter_svg_provider

Use svg as image provider.
https://pub.dev/packages/flutter_svg_provider
Apache License 2.0
47 stars 72 forks source link

Add support for loading from memory #33

Open DennisMuchiri opened 2 years ago

DennisMuchiri commented 2 years ago

flutter_svg supports loading from memory like

SvgPicture.memory(
                      Base64Decoder().convert(
                      "BASE64STRING")
);

Please support this behaviour.

PeterMX commented 1 year ago

Hi @DennisMuchiri, You can use this: Svg( '', svgGetter: (key) async { return Base64Decoder().convert("BASE64STRING"); } )