ai_bridge_storage_shared_prefs 0.1.0 copy "ai_bridge_storage_shared_prefs: ^0.1.0" to clipboard
ai_bridge_storage_shared_prefs: ^0.1.0 copied to clipboard

A SharedPreferences implementation of StorageProvider for flutter_ai_bridge persistence.

ai_bridge_storage_shared_prefs #

SharedPreferences-based persistence for the ai_bridge_core framework — save and restore AI conversation history locally.

Features #

  • Implements StorageProvider from ai_bridge_core
  • Save/load/delete conversations via SharedPreferences
  • JSON serialization with FormatException handling
  • Lists all stored conversations

Usage #

import 'package:ai_bridge_storage_shared_prefs/ai_bridge_storage_shared_prefs.dart';

final storage = SharedPrefsStorage();
await storage.saveConversation(conversation);
final loaded = await storage.loadConversation('conv-id');

License #

MIT

0
likes
140
points
52
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A SharedPreferences implementation of StorageProvider for flutter_ai_bridge persistence.

License

MIT (license)

Dependencies

ai_bridge_core, flutter, shared_preferences

More

Packages that depend on ai_bridge_storage_shared_prefs