lru_image_cache 0.5.2 copy "lru_image_cache: ^0.5.2" to clipboard
lru_image_cache: ^0.5.2 copied to clipboard

A lightweight LRU image cache that keeps references for binary data and retrieves Image objects.

lru_image_cache #

LRU image cache.

Getting Started #

final urls = [
  'https://via.placeholder.com/200x300.png',
  'https://via.placeholder.com/400x500.png'
];
final cache = LRUImageCache.shared;
final imagesFuture = cache.cache(urls: urls);
imagesFuture.then((imageWidgets) {
  // you can retrieve image size, data using shared cache object
});
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A lightweight LRU image cache that keeps references for binary data and retrieves Image objects.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, http, mini_log, synchronized

More

Packages that depend on lru_image_cache