flutter_svg
flutter_svg copied to clipboard
How do I handle errors?
How do I handle error when loading SVG from network? Currently I only use SvgPicture.network
, when there is no internet connection the widget throws exception in the console and placeholderBuilder is still showing.
There should be like an onError or errorBuilder parameter!