You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitfor (finalFileSystemEntity file in cacheImagesDirectory.list()) {
if (file.path.endsWith(key)) {
returnFile(file.path);
}
}
}
} catch (_) {
returnnull;
}
returnnull;
}
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
The text was updated successfully, but these errors were encountered:
Platforms
dart
Description
Hello! I have a doubt about cacheKey.
extended_image_library/lib/src/_extended_network_image_utils_io.dart
Lines 31 to 62 in 5847a6a
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
The text was updated successfully, but these errors were encountered: