-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Hey! Already sended an email about that, but thought other users might have the same issue, so decided to open an issue about it.
In my app, there can be lots of cached network images, and clearing the all cache is really a big problem, since these images would be downloaded to cache, and once user uses the edge detector again, all cahce would have been cleared again, and so on.
So it would be pretty good to have an option to not delete the all cache. (Im referring to the example project you created)
In scand.dart file, inside _processImage function, when you delete the following part, it does not crop the image:
setState(() {
imageCache.clearLiveImages();
imageCache.clear();
.
.
});
So, is it possible to still achieve same thing, without clearing all the image cache?
I would also love to hear how this works behind the scenes, i mean why not clearing the image cache breaks the program.