zero_cached_image 1.1.0
zero_cached_image: ^1.1.0 copied to clipboard
A minimal, high-performance cached network image widget. Zero-copy disk reads via ImmutableBuffer.fromFilePath, in-memory index, ETag support. Only 2 dependencies.
1.1.0 #
ZeroCacheManagernow acceptscacheDirNameandextensionAllowlistconstructor params. Defaults preserve 1.0.0 behavior (zero_cached_imagedir, image-only extension allowlist). Enables sibling packages (e.g.,zero_cached_video) to reuse the cache machinery with their own directory + media-type allowlist.
1.0.0 #
- Initial release.
ZeroCachedImagewidget with fade animations and placeholder/error support.ZeroCachedImageProviderfor use withDecorationImageandprecacheImage.ZeroCacheManagerwith LRU eviction, ETag conditional requests, and Cache-Control max-age.- Zero-copy image loading via
ImmutableBuffer.fromFilePath(). - In-memory index with JSON persistence (survives restarts).
- Concurrent request deduplication.
- Atomic index writes with backup recovery.
- Web fallback via
Image.network().