ImageCacheService class
Methods
-
clearCache()
→ Future<void>
-
-
configureCacheDuration(Duration? duration)
→ void
-
-
deleteImage(String url, {String? cacheKey})
→ Future<void>
-
-
deleteImages(List<String> urls, {Map<String, String>? cacheKeys})
→ Future<void>
-
-
dispose()
→ void
-
-
downloadAndCacheImage(String url, {Map<String, String>? headers, String? cacheKey})
→ Future<Uint8List?>
-
-
getCachedImage(String url, {String? cacheKey})
→ Future<Uint8List?>
-
-
getCacheInfo()
→ Future<CacheInfo>
-
-
getImage(String url, {String? cacheKey, bool forceDownload = false})
→ Future<Uint8List?>
-
-
getImagesMetadata()
→ Map<String, DateTime>
-
-
initialize()
→ Future<void>
-
-
isImageCached(String url, {String? cacheKey})
→ Future<bool>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
preloadImages(List<String> urls, {Map<String, String>? cacheKeys})
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
watchImage(String url, {String? cacheKey})
→ Stream<Uint8List?>
-