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 2024Releases
latest 60 of 65-
3.4.113 Aug 2024 -
3.4.001 Aug 2024Release notes
Open source →What's Changed
- Fixed: Deprecated API usage by @muhib349 in #911
- Expose
scaleof 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
- @amake made their first contribution in #576
- @hgraceb made their first contribution in #960
- @robert-northmind made their first contribution in #937
- @AurelVU made their first contribution in #933
Full Changelog: v3.3.1...v3.4.0
Release notes
Open source →- 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
-
3.3.131 Dec 2023Release notes
Open source →- Adding an errorListener prevents automatic reporting to global error handler.
-
3.3.025 Sep 2023Release notes
Open source →- Add error to ErrorListener
- Update to Dart 3
- Remove
load, useloadImageinsteadloadBuffer
Minor code clean-ups:
- Add topics in pubspec
- Specify types
- Update example
-
3.2.325 Nov 2022 -
3.2.231 Aug 2022 -
3.2.116 May 2022 -
3.2.029 Nov 2021Release notes
Open source →- Add option to set the log level of the cache manager, for example:
CachedNetworkImage.logLevel = CacheManagerLogLevel.debug;- Update cache manager dependency.
-
3.1.016 Jul 2021 -
3.1.0+104 Nov 2021 -
3.1.0-alpha.110 May 2021 pre-releaseNothing published for this version
-
3.1.0-alpha.010 May 2021 pre-releaseNothing published for this version
-
3.0.027 Mar 2021Release notes
Open source →- Migrate to null safety
- Fix "Cannot clone a disposed image" error
- Update dependencies.
-
3.0.0-nullsafety02 Mar 2021 pre-release -
2.5.109 Mar 2021 -
2.5.022 Dec 2020Release notes
Open source →- Add support for resizing images in disk cache.
CachedNetworkImage( maxHeightDiskCache: 200, imageUrl: 'https://via.placeholder.com/3000x2000', ); -
2.4.101 Dec 2020 -
2.4.030 Nov 2020 -
2.3.316 Oct 2020 -
2.3.210 Sep 2020Release notes
Open source →- 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.
-
2.3.2+110 Sep 2020Nothing published for this version
-
2.3.126 Aug 2020 -
2.3.025 Aug 2020Release notes
Open source →- 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.
-
2.3.0-rc20 Jun 2020 pre-releaseRelease notes
Open source →- 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.
-
2.3.0-beta.128 May 2020 pre-release -
2.3.0-beta.1+128 May 2020 pre-releaseNothing published for this version
-
2.3.0-beta20 May 2020 pre-release -
2.2.030 Apr 2020Release notes
Open source →- Upgrades on CachedNetworkImageProvider:
- Support for download progress.
- Basic web support (no caching).
- Upgrades on CachedNetworkImageProvider:
-
2.2.0+105 May 2020 -
2.1.010 Apr 2020 -
2.1.0+110 Apr 2020 -
2.0.031 Dec 2019 -
2.0.0-rc.104 Nov 2019 pre-release -
2.0.0-rc17 Oct 2019 pre-release -
1.1.304 Nov 2019 -
1.1.216 Oct 2019Release notes
Open source →- Add filterQuality property.
- Scale image to size when showing in widget.
- Better error handling.
- Fix for useOldImageOnUrlChange.
- Update cache manager to 1.1.2.
-
1.1.2+117 Oct 2019 -
1.1.123 Jul 2019 -
1.1.013 Jul 2019Release notes
Open source →- Improved performance
- Keep fetched files in sync with filemanager.
- Better error handling.
- Added extra example to show the imageBuilder
-
1.0.027 Jun 2019 -
0.8.006 May 2019Release notes
Open source →- Fixed compile error on informationCollector by temporarily disabling it.
-
0.7.006 Mar 2019Release notes
Open source →- BREAKING CHANGE: Renamed ErrorWidgetBuilder to LoadingErrorWidgetBuilder
- LoadingErrorWidgetBuilder returns an Object instead of an Exception
- Fixed BoxFit to also work when size is not defined
-
0.6.227 Feb 2019Release notes
Open source →- Added option to blend image with color
- Added option in CacheManager to clear the cache
-
0.6.125 Feb 2019 -
0.6.018 Feb 2019Release notes
Open source →- 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
-
0.6.0+119 Feb 2019Nothing published for this version
-
0.6.0-beta11 Feb 2019 pre-releaseNothing published for this version
-
0.6.0-beta+112 Feb 2019 pre-releaseNothing published for this version
-
0.6.0-alpha.224 Nov 2018 pre-releaseNothing published for this version
-
0.6.0-alpha18 Nov 2018 pre-releaseNothing published for this version
-
0.5.119 Nov 2018 -
0.5.013 Oct 2018 -
0.5.0+112 Nov 2018Nothing published for this version
-
0.4.230 Aug 2018 -
0.4.127 Apr 2018 -
0.4.1+101 May 2018Nothing published for this version
-
0.4.014 Apr 2018Release notes
Open source →- Added optional headers.
- Changed to Dart 2.0
- Fixed bug when updating widget with new url
-
0.4.0-rc.124 Mar 2018 pre-releaseNothing published for this version
-
0.3.009 Feb 2018 -
0.3.0-alpha05 Feb 2018 pre-releaseNothing published for this version