flutter_svg icon indicating copy to clipboard operation
flutter_svg copied to clipboard

Support loadingBuilder

Open creativecreatorormaybenot opened this issue 4 years ago • 1 comments

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.

dnfield avatar Apr 26 '21 16:04 dnfield