image_cacheing 0.0.2 image_cacheing: ^0.0.2 copied to clipboard
image_cacheing will cache image that given to url params. Thus increasing the speed of image loading at next time you load the image. This is support on android devices as of now.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_cacheing
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
image_cacheing: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:image_cacheing/image_cacheing.dart';