0

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.

1 Answers1

0

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

Nilesh Senta
  • 5,236
  • 2
  • 19
  • 27