offline_first_cache 0.0.7 copy "offline_first_cache: ^0.0.7" to clipboard
offline_first_cache: ^0.0.7 copied to clipboard

An offline-first HTTP client for Flutter/Dart with request queuing, GET caching (stale-while-revalidate, tag-based invalidation), and a built-in Queue Inspector UI.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add offline_first_cache

With Flutter:

 $ flutter pub add offline_first_cache

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

dependencies:
  offline_first_cache: ^0.0.7

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:offline_first_cache/offline_first_cache.dart';
5
likes
0
points
182
downloads

Publisher

unverified uploader

Weekly Downloads

An offline-first HTTP client for Flutter/Dart with request queuing, GET caching (stale-while-revalidate, tag-based invalidation), and a built-in Queue Inspector UI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, dio, flutter, flutter_secure_storage, flutter_skill, hive, hive_flutter, uuid

More

Packages that depend on offline_first_cache