Skip to content
pubscout

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.

Rock solid
$ flutter pub add cached_network_image_ce
Source repository

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.

  • image

    Pick this if you need a general-purpose Dart image processing library rather than a network image widget.

Works with

Packages commonly used together with cached_network_image_ce: ones it builds on, ones built on it, and its own family.