When I try to display a network image in Flutter Web using the following syntax, no image is shown:
NetworkImage(
'https://api.hsgmoto.com/api/images/product/catalog/IP-800208.png',
)
On mobile, the same code will show an image.
When I try to display a network image in Flutter Web using the following syntax, no image is shown:
NetworkImage(
'https://api.hsgmoto.com/api/images/product/catalog/IP-800208.png',
)
On mobile, the same code will show an image.
I think it's because of CanvasKit. Either you should run using HTML web renderer
flutter run -d chrome --web-renderer html
Or check below code.
https://github.com/flutter/flutter/issues/49725#issuecomment-581052213