FLUTTER ECOSYSTEM

redux_persist

Persist Redux State with custom storage engines and serializers

Latest version
0.9.0
30-day downloads
2.7K
Likes
25
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Redux Persist is a Flutter/Dart package that enables persistent storage of Redux state across app restarts using customizable storage engines and serializers. It allows developers to save and restore state from local storage, supporting various platforms including Android, iOS, macOS, Windows, and Linux. The package integrates seamlessly with Redux, offering reliable state persistence without requiring extensive configuration. Custom serialization logic can be defined for complex data types, ensuring flexibility in how state is stored and retrieved. Ideal for apps needing offline functionality or user-specific data retention.

Use cases
  • Offline data persistence
  • User session management
  • App state recovery after restart
  • Cross-platform state synchronization
  • Saving user preferences
Key features
  • Customizable storage engines
  • Pluggable serializers
  • Cross-platform support
  • Minimal boilerplate
  • Seamless Redux integration
Suitable for
  • Apps requiring persistent state
  • Developers using Redux architecture
  • Projects with offline capabilities
  • Multi-platform applications
  • State-heavy UIs
Considerations
  • Requires careful handling of serialization
  • May increase app size with large state
  • Potential performance impact on large datasets
  • Needs proper error handling for storage failures
  • Not suitable for real-time sync without additional logic
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add redux_persist

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects