dikeboy / flutter-cache-image-local

Cache image to the local

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image_cut

A new Flutter application for cache image to the local storage

Getting Started

Flutter already have the memory cache, So can do it modify the networkImage

The code is in fade_in_cache.dart

Copy the FadeInImage and NetworkImage, then add the file cache

run the pubspec.yaml Flutter package get

how to use it

     fcache.FadeInImage.memoryNetwork(
          image: d["url"],
          sdcache: true,
          placeholder: kTransparentImage,
          width: width,
          height: d["height"]* width/d["width"],
          ),

About

Cache image to the local


Languages

Language:Dart 96.1%Language:Objective-C 2.7%Language:Java 1.3%