ffcache 1.0.0 ffcache: ^1.0.0 copied to clipboard
ffcache(Flutter File Cache) is a file based key value store. It stores cache in iOS/Android app's temporary folder. Cache automatically expires after expiration time.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ffcache
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ffcache: ^1.0.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:ffcache/ffcache.dart';