I have tried all of the following Widget
to load images from network :
Image.network()
CachedNetworkImage()
And also their ImageProvider
:
NetworkImage
CachedNetworkImageProvider
There is no bool
to choose not to cache images. The only way i have found is to load the ImageProvider
like in initState()
and then call evict()
right after.
I don't really know if this works actually or if this is the best way to do...
Is there any way to prevent caching from network "natively" ?