cached_memory_image 1.5.0 cached_memory_image: ^1.5.0 copied to clipboard
A Flutter library to show images from the Base64, Uint8List and keep them in the cache directory.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cached_memory_image
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
cached_memory_image: ^1.5.0
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:cached_memory_image/cached_memory_image.dart';