flutter_advanced_networkimage 0.1.7 copy "flutter_advanced_networkimage: ^0.1.7" to clipboard
flutter_advanced_networkimage: ^0.1.7 copied to clipboard

outdatedDart 1 only

An advanced image provider for flutter.

Flutter Advanced Network Imageprovider #

pub package

An advanced image provider provides caching and retrying for flutter app. Now with zoomable widget and transition to image widget.

Getting Started #

Installation #

Add this to your pubspec.yaml (or create it):

  flutter_advanced_networkimage: any

Then run the flutter tooling:

flutter packages get

Example #

// using image provider
new Image(
  image: new AdvancedNetworkImage(url, header: header, useDiskCache: true),
  fit: BoxFit.cover,
// clean the disk cache
bool isSucceed = await getDiskCachedImagesSize();
// get the disk cache folder size
int folderSize = await clearDiskCachedImages();
// using zooming widget & transitiontoimage widget
new ZoomableWidget(
  minScale: 0.3,
  maxScale: 2.0,
  child: new Container(
    child: new TranstionToImage(
      new AdvancedNetworkImage(url),
      // This is the default placeholder widget at loading status,
      // you can write your own widget with CustomPainter.
      placeholder: new CircularProgressIndicator(),
      // This is default duration
      duration: new Duration(milliseconds: 300),

Details in example/ folder.

Q&A #

  • Q: Why the cached files stored in documents directory instead of temporary directory?
    A: I think your cached fils should be a part of your app, and you can manual clear your cached files.

  • Q: Your zooming widget is weird while scrolling, will you improve it?
    A: Ummmmm, maybe.

pub points


unverified uploader

An advanced image provider for flutter.

Repository (GitHub)
View/report issues


unknown (LICENSE)


crypto, flutter, http, path, path_provider, quiver


Packages that depend on flutter_advanced_networkimage