transparent_svg 2.0.0 transparent_svg: ^2.0.0 copied to clipboard
A transparent svg image used in the same way as transparent_image
transparent_svg #
This is to be used with the flutter_svg package seen here: https://pub.dev/packages/flutter_svg
It performs the same as https://pub.dev/packages/transparent_image but for SVG images!
This way you can ternary new SVG images in as you load them from memory.
For example:
FlutterSvg.memory(isLoaded ? kActualImage : kTransparentSvg)
Just call kTransparentSvg where you need it!