extended_image_library
extended_image_library copied to clipboard
[How to use] How does cacheKey work?
Platforms
dart
Description
Hello! I have a doubt about cacheKey. https://github.com/fluttercandies/extended_image_library/blob/5847a6a83ad4d40cd5ee3946fb6b8b23d23dcba4/lib/src/_extended_network_image_utils_io.dart#L31-L62
I'd need to save many images to disk and then delete them all at once without passing their urls. I thought that cacheKey was intended for that purpose, like assigning to [url_1..url_100] the same cackeKey (ie. "profiles") and then clearDiskCachedImage("profiles") to delete from disk all these 100 files that were cached when loading profiles screens.
But from code above, it doesnt seem to work this way. Can you please shed some light on this? Thx
My code
No response
Try do it
No response