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.