hive_cache_manager 0.0.1 hive_cache_manager: ^0.0.1 copied to clipboard
A cache helper to easily store custom models and write minimum amount of hive related code.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hive_cache_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
hive_cache_manager: ^0.0.1
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:hive_cache_manager/hive_cache_manager.dart';