cached_network_image 0.8.0 copy "cached_network_image: ^0.8.0" to clipboard
cached_network_image: ^0.8.0 copied to clipboard

outdated

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

Cached network image #

BREAKING CHANGES IN 0.6.0

Widget now uses builders for the placeholder and error widget and uses sqflite for cache management. See the docs for more information.

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.

CachedNetworkImage(
        imageUrl: "http://via.placeholder.com/350x150",
        placeholder: (context, url) => new CircularProgressIndicator(),
        errorWidget: (context, url, error) => new Icon(Icons.error),
     ),
Image(image: new CachedNetworkImageProvider(url))

How it works #

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

6.73k
likes
20
points
2.22M
downloads

Publisher

verified publisherbaseflow.com

Weekly Downloads

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

License

unknown (license)

Dependencies

flutter, flutter_cache_manager

More

Packages that depend on cached_network_image