Skip to main content

cached_network_image_web 2.0.4 copy "cached_network_image_web: ^2.0.4" to clipboard
cached_network_image_web: ^2.0.4 copied to clipboard

Web implementation of CachedNetworkImage

2.0.4 - 2026-10-23 #

  • Report a failure to read or decode a cached file on the HttpGet render method to the image stream, evict the image and the broken cache entry, and close the streams, instead of leaving the image loading forever
  • A stale cached file that fails to decode is only a failure if no fresh file follows, and a failure after a frame was shown keeps that frame
  • Close the streams after a download error too
  • Only the web loader removes the broken cache entry; the IO loader is unchanged

2.0.3 - 2026-09-29 #

  • Bump flutter_cache_manager to ^3.4.5, material_ui to ^1.3.0 and web to ^1.1.1

2.0.2 - 2026-09-23 #

  • Bump flutter_lints to ^6.0.0 and drop the library name, fixing an unnecessary_library_name lint

2.0.1 - 2026-09-22 #

  • Reformat with the current Dart formatter

2.0.0 - 2026-08-25 #

Breaking changes #

  • Requires Flutter >=3.44.0 and Dart ^3.12.0 (via material_ui dependency)
  • Replaces flutter/material.dart with material_ui for Wasm compatibility
  • Use conditional imports for createImageCodecFromUrl so VM tests can compile

Other changes #

  • Exclude platform folders from analyzer configuration

1.3.1 - 2024-08-13 #

  • Target js_interop for Wasm support

1.3.0 - 2024-08-01 #

  • Update dependencies
  • Update SDK version to 3.0.0

1.2.0 - 2024-04-29 #

  • Replace deprecated webOnlyInstantiateImageCodecFromUrl to createImageCodecFromUrl from dart:ui_web

1.1.1 - 2023-12-31 #

  • Removed errorListener from ImageLoader interface

1.1.0 - 2023-09-25 #

  • Add error to ErrorListener
  • Specify types
  • Update example
  • Remove load, use loadImage instead loadBuffer

1.0.2 - 2022-08-31 #

  • Added loadBufferAsync and deprecated loadAsync

1.0.1 - 2021-08-02 #

  • Bug: fixed CORS issues in HTML image version.

1.0.0 - 2021-07-16 #

  • Initial release