dcache_flutter 1.0.2 dcache_flutter: ^1.0.2 copied to clipboard
A cache library for Dio.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dcache_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dcache_flutter: ^1.0.2
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:dcache_flutter/dcache.dart';
import 'package:dcache_flutter/dcache_encoder.dart';
import 'package:dcache_flutter/dcache_options.dart';
import 'package:dcache_flutter/dcache_storage.dart';