offline_cache_helper

A lightweight and easy-to-use Flutter package for offline caching of data. It provides a simple API to store, retrieve, and manage local data efficiently.

✨ Features

🔹 Store and retrieve offline data with ease.

🔹 Uses local storage for persistence.

🔹 Minimal setup — plug and play.

🔹 Lightweight and developer-friendly API.

Getting started

Add this to your pubspec.yaml:

dependencies:
  offline_cache_helper: ^0.0.1


import 'package:offline_cache_helper/offline_cache_helper.dart';

void main() async {
  final helper = await OfflineCacheHelper.create(
    storage: 'my_cache', // example
  );

  await helper.save('key', 'value');
  final value = await helper.get('key');

  print(value); // output: value
}