hd-motion/flutter_imageview_360

Images Download From internet can't be displayed

Closed this issue · 2 comments

I tried to download an images and then add them to an array , pass this array to ImageView360 widget ,
but it take only AssetImage, so there i must have an images first in assets .
How to do this?

You can edit the ImageView360 class and turn final List<AssetImage> imageList; into final List<ImageProvider> imageList; so it will also accept NetworkImages, MemoryImages, etc. Honestly, it should be like that by default, it's way more versatile.

Hi, thanks for pointing it out. You can check out version 1.2.0 as it supports ImageProvider as a param in imageList. For better experience make sure, the images to be displayed are cached.