flutter_svg
flutter_svg copied to clipboard
SvgPicture.network errorBuilder
Is there any option to use e.g. errorBuilder in case of network fetch or svg parse error?
Something like currently the placeholderBuilder but in case of an error?
The same problem
SvgPicture.*** .errorBuilder
any news about it?
Would also love this!
Same. I have several SVGs that throw an exception while parsing and I have no way to detect this condition.
Same here.
same here ..
This would be very nice to have. I know the underlying VectorGraphics widget takes an errorBuilder, and I was considering submitting a PR, but I couldn't get it the errorBuilder callback to trigger when I set the status code of the fake http response to 400 in the tests. Does VG's errorBuilder only trigger on decode failures?
@dnfield