iws_cache 0.0.1
iws_cache: ^0.0.1 copied to clipboard
A flexible key-value cache library for Flutter with TTL support, multiple eviction policies, and both in-memory and persistent storage options.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add iws_cacheThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
iws_cache: ^0.0.1Alternatively, 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:iws_cache/iws_cache.dart';