king_cache 0.0.54
king_cache: ^0.0.54 copied to clipboard
A Flutter package for caching api data and markdown content to disk and improving app performance. It uses the http package to make api calls and use cache directory to cache data with specialized sup [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add king_cache
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
king_cache: ^0.0.54
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:king_cache/king_cache.dart';