Skip to content
pubscout

redux_persist_flutter

0.9.0, released 6 years ago by cretezy.com

Flutter storage engine for redux_persist, saving state to a file or shared preferences.

$ flutter pub add redux_persist_flutter
Source repository

What it does

Provides a FlutterStorage class that persists Redux state to the app's document directory or to shared preferences. Supports web via shared preferences and includes null‑safety support.

AI-written summary of version 0.9.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need simple persistence of Redux state across app launches
  • You want a cross‑platform solution (mobile + web) without a full database
  • You prefer a file or key‑value store over SQL

Skip it when

  • You require encrypted or secure storage
  • You need to query large structured data
  • You are not using redux_persist

Strengths

  • Very easy to integrate with redux_persist
  • Works on mobile and web out of the box
  • Supports both file and shared‑preferences storage

Weaknesses

  • No built‑in encryption
  • Limited to key‑value/file storage, not suitable for complex queries
  • Tied to redux_persist, not a general purpose storage

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3
final persistor = Persistor<State>(
  storage: FlutterStorage(),
);

Alternatives

Packages that do the same job and could replace redux_persist_flutter.

Works with

Packages commonly used together with redux_persist_flutter: ones it builds on, ones built on it, and its own family.