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

A Flutter package to cache API responses locally for offline access, with support for read, write, and refresh operations.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add offline_cache_helper

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

dependencies:
  offline_cache_helper: ^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:offline_cache_helper/offline_cache_helper.dart';
0
likes
130
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to cache API responses locally for offline access, with support for read, write, and refresh operations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, hive, http, path_provider

More

Packages that depend on offline_cache_helper