Download, cache and show images in a flutter app
Clone or download
Latest commit 0777438 Nov 19, 2018

Cached network image

pub package Donate

A flutter library to show images from the internet and keep them in the cache directory.

How to use

The CachedNetworkImage can be used directly or through the ImageProvider.

new CachedNetworkImage(
       imageUrl: "",
       placeholder: new CircularProgressIndicator(),
       errorWidget: new Icon(Icons.error),
new Image(image: new CachedNetworkImageProvider(url))

How it works

The cached network images stores and retrieves files using the flutter_cache_manager.