cached_network_image_ce
4.13.2, released 3 weeks ago by erengun.dev
Community edition of cached network image using Hive for fast cache reads.
What it does
Loads images from the internet and caches them persistently on disk using hive_ce. Provides widgets and image providers with placeholders, error handling, and interceptors.
AI-written summary of version 4.13.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need high-performance network image loading and caching with zero-jank list scrolling.
- You want a drop-in community-maintained alternative to the original cached_network_image package.
Skip it when
- You need native support for unsupported image formats like SVG or HEIC without external decoders.
- You are already using a different caching mechanism that conflicts with Hive.
Strengths
- Up to 8x faster cache reads compared to the original sqflite-based implementation.
- Persistent IndexedDB caching on the web platform.
- HTTP and cache interceptor chains for advanced request/response manipulation.
Weaknesses
- Cache interceptors are only available on native IO targets and not on web.
- Still relies on Flutter's built-in image codec for decoding formats.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 11
No special platform permissions or configuration steps are required beyond adding the package dependency.
CachedNetworkImage(
imageUrl: 'https://via.placeholder.com/350x150',
placeholder: (context, url) => CircularProgressIndicator(),
errorWidget: (context, url, error) => Icon(Icons.error),
)Alternatives
Packages that do the same job and could replace cached_network_image_ce.
- cached_network_image
Pick the original package if you prefer the un-forked Baseflow version, though it is largely unmaintained.
91Compare - image
Pick this if you need a general-purpose Dart image processing library rather than a network image widget.
96Compare
Works with
Packages commonly used together with cached_network_image_ce: ones it builds on, ones built on it, and its own family.
- cryptocached_network_image_ce depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- clockcached_network_image_ce depends on itA fakeable wrapper for dart:core clock APIs.
- filecached_network_image_ce depends on itPluggable, mockable file system abstraction for Dart with in-memory support.
- path_providercached_network_image_ce depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- octo_imagecached_network_image_ce depends on itA multifunctional Flutter image widget supporting placeholders, error widgets, and fading.
- hive_cecached_network_image_ce depends on itA lightweight and fast NoSQL key-value database written in pure Dart.