FLUTTER ECOSYSTEM

cached_memory_image

A Flutter library to show images from the Base64, Uint8List and keep them in the cache directory.

Latest version
1.5.0
30-day downloads
6.3K
Likes
50
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

CachedMemoryImage is a Flutter package designed to efficiently display images from Base64 strings or Uint8List data while caching them locally. It ensures fast image loading by storing decoded images in the device's cache directory, reducing redundant processing and network requests. Ideal for apps that handle dynamic or frequently accessed images, it supports multiple platforms including Android, iOS, macOS, Windows, and Linux. The library simplifies image management with minimal setup and integrates seamlessly into existing Flutter projects.

Use cases
  • Displaying base64-encoded images
  • Caching image data locally
  • Loading images from Uint8List
  • Reducing repeated image decoding
  • Offline image access
  • Improving app performance
Key features
  • Supports Base64 and Uint8List inputs
  • Local caching in device cache directory
  • Cross-platform compatibility
  • Automatic image reuse from cache
  • Minimal configuration required
  • Efficient memory usage
Suitable for
  • Apps with dynamic image content
  • Offline-first applications
  • High-frequency image rendering
  • Media-heavy UIs
  • Developers seeking simple image caching
  • Projects requiring lightweight image handling
Considerations
  • Cache size not configurable
  • No built-in image compression
  • Relies on system cache directory
  • Limited control over cache eviction policy
  • Not optimized for large image datasets
  • Requires manual cache clearing if needed
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add cached_memory_image

Categories

Source repository

Related projects