PackageTrack
Sign in Get early access

cached_network_image

Flutter library to load and cache network images. Can also be used with placeholder and error widgets.

3.4.1 3.0M downloads/mo #201 most downloaded on pub.dev Baseflow/flutter_cached_network_image

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 10 months

Nearly every release is documented

notes for 46 of 50 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

65 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

65 releases · Dec 2017 to Aug 2024
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 65
  1. 3.4.1 13 Aug 2024
    Release notes
    • Target js_interop for Wasm support
    Open source →
  2. 3.4.0 01 Aug 2024
    Release notes

    What's Changed

    • Fixed: Deprecated API usage by @muhib349 in #911
    • Expose scale of CachedNetworkImageProvider on CachedNetworkImage by @amake in #576
    • Improved debug console messages by @hgraceb in #960
    • Bugfix: Change how errors are reported by ImageLoader. Emits as stream instead of re-throwing by @robert-northmind in #937
    • added static field defaultCacheManager to CachedNetworkImageProvider by @AurelVU in #933

    New Contributors

    Full Changelog: v3.3.1...v3.4.0

    Open source →
    Release notes
    • Change how errors are reported by ImageLoader. Emitting errors as streams instead of re-throwing.
    • Improved debug console messages
    • Update dependencies
    • added static field defaultCacheManager to CachedNetworkImageProvider
    • Expose scale of CachedNetworkImageProvider on CachedNetworkImage
    Open source →
  3. 3.3.1 31 Dec 2023
    Release notes
    • Adding an errorListener prevents automatic reporting to global error handler.
    Open source →
  4. 3.3.0 25 Sep 2023
    Release notes
    • Add error to ErrorListener
    • Update to Dart 3
    • Remove load, use loadImage instead loadBuffer

    Minor code clean-ups:

    • Add topics in pubspec
    • Specify types
    • Update example
    Open source →
  5. 3.2.3 25 Nov 2022
    Release notes
    • Correctly dispose image stream handler
    Open source →
  6. 3.2.2 31 Aug 2022
    Release notes
    • loadBuffer is added and used instead of load
    Open source →
  7. 3.2.1 16 May 2022
    Release notes
    • Update to Flutter 3
    Open source →
  8. 3.2.0 29 Nov 2021
    Release notes
    • Add option to set the log level of the cache manager, for example:
    CachedNetworkImage.logLevel = CacheManagerLogLevel.debug;
    
    • Update cache manager dependency.
    Open source →
  9. 3.1.0 16 Jul 2021
    Release notes
    • Separate Web and IO implementations
    Open source →
  10. 3.1.0+1 04 Nov 2021
    Release notes
    • Update Readme
    Open source →
  11. 3.1.0-alpha.1 10 May 2021 pre-release

    Nothing published for this version

  12. 3.1.0-alpha.0 10 May 2021 pre-release

    Nothing published for this version

  13. 3.0.0 27 Mar 2021
    Release notes
    • Migrate to null safety
    • Fix "Cannot clone a disposed image" error
    • Update dependencies.
    Open source →
  14. 3.0.0-nullsafety 02 Mar 2021 pre-release
    Release notes
    • Migrate to null safety
    Open source →
  15. 2.5.1 09 Mar 2021
    Release notes
    • Update dependencies
    Open source →
  16. 2.5.0 22 Dec 2020
    Release notes
    • Add support for resizing images in disk cache.
    CachedNetworkImage(
      maxHeightDiskCache: 200,
      imageUrl: 'https://via.placeholder.com/3000x2000',
    );
    
    Open source →
  17. 2.4.1 01 Dec 2020
    Release notes
    • Fix a bug that an image is disposed when it shouldn't.
    Open source →
  18. 2.4.0 30 Nov 2020
    Release notes
    • Added support for a cache key which is different from the image url.
    Open source →
  19. 2.3.3 16 Oct 2020
    Release notes
    • Support for flutter_cache_manager 2.x.x.
    Open source →
  20. 2.3.2 10 Sep 2020
    Release notes
    • Fixed placeholders and error widgets, those are not always centered anymore.
    • Evict an image from ImageCache if image fails to load.
    • Added method to evict an image from memory and disk cache.
    Open source →
  21. 2.3.2+1 10 Sep 2020

    Nothing published for this version

  22. 2.3.1 26 Aug 2020
    Release notes
    • Fixed fading when the image has no placeholder or progress indicator.
    Open source →
  23. 2.3.0 25 Aug 2020
    Release notes
    • Improved image loading by using OctoImage. OctoImage uses the native callbacks of the ImageProvider instead of loading the file when the ImageWidget is build the first time.
    • Set minimal Flutter version to 1.20.0; first compatible stable version.
    • Added choice for rendering of images on web. Defaults to standard HTML ImageElement, but gives the option to use a custom HTTP Get for headers and skia support.
    • Use a MultiImageStreamCompleter for when an image that is available in the cache is updated.
    Open source →
  24. 2.3.0-rc 20 Jun 2020 pre-release
    Release notes
    • Added choice for rendering of images on web. Defaults to standard HTML ImageElement, but gives the option to use a custom HTTP Get for headers and skia support.
    • Use a MultiImageStreamCompleter for when an image that is available in the cache is updated.
    • Increase minimal version of Flutter to 1.19.0-2.0.pre (currently requires Beta) due to an error listener bug.
    Open source →
  25. 2.3.0-beta.1 28 May 2020 pre-release
    Release notes
    • Improved web support: support for headers and skia.
    Open source →
  26. 2.3.0-beta.1+1 28 May 2020 pre-release

    Nothing published for this version

  27. 2.3.0-beta 20 May 2020 pre-release
    Release notes
    • Rewrote image widget by using OctoImage.
    Open source →
  28. 2.2.0 30 Apr 2020
    Release notes
    • Upgrades on CachedNetworkImageProvider:
      • Support for download progress.
      • Basic web support (no caching).
    Open source →
  29. 2.2.0+1 05 May 2020
    Release notes
    • Fix ImageProvider not using provided headers.
    Open source →
  30. 2.1.0 10 Apr 2020
    Release notes
    • Update CacheManager
    • Added option for progress indicator
    Open source →
  31. 2.1.0+1 10 Apr 2020
    Release notes
    • Update minimal Dart sdk version
    Open source →
  32. 2.0.0 31 Dec 2019
    Release notes
    • Public release of 2.0 version
    Open source →
  33. 2.0.0-rc.1 04 Nov 2019 pre-release
    Release notes
    • Revert scaling of image due to issues with BoxFit.
    Open source →
  34. 2.0.0-rc 17 Oct 2019 pre-release
    Release notes
    Open source →
  35. 1.1.3 04 Nov 2019
    Release notes
    • Revert scaling of image due to issues with BoxFit.
    Open source →
  36. 1.1.2 16 Oct 2019
    Release notes
    • Add filterQuality property.
    • Scale image to size when showing in widget.
    • Better error handling.
    • Fix for useOldImageOnUrlChange.
    • Update cache manager to 1.1.2.
    Open source →
  37. 1.1.2+1 17 Oct 2019
    Release notes
    • Fix for widgets declared with infinite size.
    Open source →
  38. 1.1.1 23 Jul 2019
    Release notes
    • Updated cache manager for error handling fix
    Open source →
  39. 1.1.0 13 Jul 2019
    Release notes
    • Improved performance
    • Keep fetched files in sync with filemanager.
    • Better error handling.
    • Added extra example to show the imageBuilder
    Open source →
  40. 1.0.0 27 Jun 2019
    Release notes
    • Updated dependencies
    Open source →
  41. 0.8.0 06 May 2019
    Release notes
    • Fixed compile error on informationCollector by temporarily disabling it.
    Open source →
  42. 0.7.0 06 Mar 2019
    Release notes
    • BREAKING CHANGE: Renamed ErrorWidgetBuilder to LoadingErrorWidgetBuilder
    • LoadingErrorWidgetBuilder returns an Object instead of an Exception
    • Fixed BoxFit to also work when size is not defined
    Open source →
  43. 0.6.2 27 Feb 2019
    Release notes
    • Added option to blend image with color
    • Added option in CacheManager to clear the cache
    Open source →
  44. 0.6.1 25 Feb 2019
    Release notes
    • No longer assume infinite size.
    Open source →
  45. 0.6.0 18 Feb 2019
    Release notes
    • Breaking changes in API and behaviour
    • Very much improved though
    • Adapted for new cache manager library
    • Completely rewritten image view
    • Now using builders for placeholder and error widgets
    • Added optional builder to customize the image
    Open source →
  46. 0.6.0+1 19 Feb 2019

    Nothing published for this version

  47. 0.6.0-beta 11 Feb 2019 pre-release

    Nothing published for this version

  48. 0.6.0-beta+1 12 Feb 2019 pre-release

    Nothing published for this version

  49. 0.6.0-alpha.2 24 Nov 2018 pre-release

    Nothing published for this version

  50. 0.6.0-alpha 18 Nov 2018 pre-release

    Nothing published for this version

  51. 0.5.1 19 Nov 2018
    Release notes
    • Fixed error throwing
    Open source →
  52. 0.5.0 13 Oct 2018
    Release notes
    • Updated cache manager for http 0.12.0
    Open source →
  53. 0.5.0+1 12 Nov 2018

    Nothing published for this version

  54. 0.4.2 30 Aug 2018
    Release notes
    • Updated cache manager dependency
    Open source →
  55. 0.4.1 27 Apr 2018
    Release notes
    • Improved error handling when a file could not be loaded.
    Open source →
  56. 0.4.1+1 01 May 2018

    Nothing published for this version

  57. 0.4.0 14 Apr 2018
    Release notes
    • Added optional headers.
    • Changed to Dart 2.0
    • Fixed bug when updating widget with new url
    Open source →
  58. 0.4.0-rc.1 24 Mar 2018 pre-release

    Nothing published for this version

  59. 0.3.0 09 Feb 2018
    Release notes
    • Added CachedNetworkImage with placeholder and error widgets.
    Open source →
  60. 0.3.0-alpha 05 Feb 2018 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive