FLUTTER ECOSYSTEM

redux_persist_flutter

使用自訂儲存引擎的 Redux Persist Flutter 集成

最新版本
0.9.0
近 30 天下載
1500
喜歡數
21
Pub 分數
160

Package Overview

根據套件公開資料產生的選型評估,僅供參考。

套件概覽

Redux Persist Flutter 透過將 Redux 與自訂儲存引擎整合,實現了 Flutter 應用中的持久化狀態管理。它允許應用狀態在應用重啟之間儲存至本機儲存並還原,支援 Android、iOS、macOS、Windows 及 Linux 等平台。專為與 Redux 順暢使用設計,透過可插入的儲存後端提供彈性,確保資料韌性而無需手動序列化。適用於需要離線功能或使用者偏好持久化的應用。

適用情境
  • 保留使用者偏好
  • 重啟後保持應用狀態
  • 啟用離線模式
  • 在會話之間保存表單數據
  • 在設備重啟之間同步狀態
主要特色
  • Custom storage engine support
  • Cross-platform compatibility
  • Seamless Redux integration
  • Automatic state restoration
  • Lightweight and modular design
適合對象
  • Apps requiring persistent state
  • Developers using Redux
  • Projects with offline capabilities
  • State-heavy applications
  • Cross-platform mobile and desktop apps
使用建議
  • 需要正確設置儲存引擎
  • 可能會增加初始載入時間
  • 需要小心處理大型狀態物件
  • 未加密,不適合用於高度敏感的資料
  • 依賴於 Redux 結構
支援平台AndroidiOSmacOSWindowsLinux

安裝套件

flutter pub add redux_persist_flutter

所屬分類

原始碼儲存庫

相關專案