flutter_svg
flutter_svg copied to clipboard
Support loadingBuilder
Feature request
The Flutter framework has support for an Image.loadingBuilder. It would be very useful to have this for SvgPicture as well.
Use case
Currently, we only have SvgPicture.placeholderBuilder. However, when we want to show loading progress, we cannot use it.
The best I can think of right now is doing the network (and possibly parsing) calls myself and retrieving the loading progress from there.
I'm not opposed to this, but I'm also not sure when I'll get to it right now. I'd be happy to review a PR - it's probably a pretty straightforward porting of the framework impl to here.