optimized_cached_image 0.1.4 optimized_cached_image: ^0.1.4 copied to clipboard
A library for loading images from network, resizing as per container size and caching while being memory sensitive.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add optimized_cached_image
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
optimized_cached_image: ^0.1.4
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:optimized_cached_image/extensions.dart';
import 'package:optimized_cached_image/image_cache_manager.dart';
import 'package:optimized_cached_image/image_web_helper.dart';
import 'package:optimized_cached_image/widgets.dart';