flutter_cache_manager 3.3.2
flutter_cache_manager: ^3.3.2 copied to clipboard
Generic cache manager for flutter. Saves web files on the storages of the device and saves the cache info using sqflite.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_cache_managerWith Flutter:
$ flutter pub add flutter_cache_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_cache_manager: ^3.3.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_cache_manager/flutter_cache_manager.dart';