A flutter library to show images from the internet and keep them in the cache directory.
The CachedNetworkImage can be used directly or through the ImageProvider.
new CachedNetworkImage( imageUrl: "http://via.placeholder.com/350x150", placeholder: new CircularProgressIndicator(), errorWidget: new Icon(Icons.error), ),
new Image(image: new CachedNetworkImageProvider(url))
The cached network images stores and retrieves files using the flutter_cache_manager.
FadeInImage. See also "Fallback for Network Images".
Added an ImageProvider and improved documentation
Initial release, should be polished
A new Flutter project.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: cached_network_image: ^0.6.0-beta
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.6.0+1||Feb 19, 2019|
|0.6.0||Feb 18, 2019|
|0.5.1||Nov 19, 2018|
|0.5.0+1||Nov 12, 2018|
|0.5.0||Oct 13, 2018|
|0.4.2||Aug 30, 2018|
|0.4.1+1||May 1, 2018|
|0.4.1||Apr 27, 2018|
|0.4.0||Apr 14, 2018|
|0.3.0||Feb 9, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
lib/src/cached_image_widget.dart. (-0.50 points)
lib/src/cached_image_widget.dart reported 1 hint:
line 195 col 3: The method '_nonAnimatedWidget' isn't used.
Package is pre-release. (-5 points)
Pre-release versions should be used with caution; their API can change in breaking ways.
|Dart SDK||>=2.0.0-dev.28.0 <3.0.0|