qs_cached_image 0.1.2
qs_cached_image: ^0.1.2 copied to clipboard
> A lightweight image cache manager and widget for Flutter. Simple API, disk cache, configurable concurrent downloads.
QS Cached Image #
A lightweight Flutter widget + cache manager for image downloading & disk cache. No heavy dependencies. Just works.
Usage #
final cacheManager = QSImageCacheManager(name: 'my_cache');
QSCachedImage(
url: 'https://example.com/pic.jpg',
cacheManager: cacheManager,
placeholder: const CircularProgressIndicator(),
errorWidget: const Icon(Icons.error),
);
## Features
- Disk cache + metadata management
- Configurable max count and retention days
- Configurable concurrent downloads
- Optional HTTP headers