lean_repo 0.0.1 copy "lean_repo: ^0.0.1" to clipboard
lean_repo: ^0.0.1 copied to clipboard

A boilerplate-killer for caching and network synchronization. Supports Stale-While-Revalidate, Cache-First, and Network-Only strategies.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lean_repo

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  lean_repo: ^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:lean_repo/lean_repo.dart';
0
likes
160
points
147
downloads

Publisher

unverified uploader

Weekly Downloads

A boilerplate-killer for caching and network synchronization. Supports Stale-While-Revalidate, Cache-First, and Network-Only strategies.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on lean_repo