I build my app for android and iOS. So recently flutter run it on the web and all hell broke lose. The first run didn't even work.
Image.network() errorbuilder was throwing this error below:
ImageCodecException: Failed to load network image.
Image URL: https://images.igdb.com/igdb/image/upload/t_cover_big/ss6bi7081my4mzebjkzb.png
Trying to load an image from another domain? Find answers at:
All the images on my web version didn't really work but it works on iOS and android.
Put this in your index.html and the images will start appearing!
window.flutterWebRenderer = "html";
Weeeeeeeeee…. it's fixed!
😁 Follow me and drop me some claps 👏👏 👏 if this article helps you, it motivates 💪 me to create more! Thank you, everyone! 🙏