cached_repository 0.1.4 cached_repository: ^0.1.4 copied to clipboard
Simple, easy to use and extensible cached repository which can store all you need.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cached_repository
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
cached_repository: ^0.1.4
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:cached_repository/cached_repository.dart';