0 purchases
transparent svg
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)
copied to clipboard
Just call kTransparentSvg where you need it!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.