FLUTTER ECOSYSTEM

rx_shared_preferences

Rxdart streaming shared preferences. Reactive stream rxdart wrapper around SharedPreferences. A stream based wrapper over shared_preferences, allowing reactive key-value storage.

Latest version
4.0.0
30-day downloads
5.3K
Likes
82
Pub points
150

Package Overview

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

Overview

RxSharedPreferences is a reactive stream wrapper for Flutter's SharedPreferences, built using RxDart. It enables real-time, asynchronous key-value storage with observable streams, allowing developers to reactively listen to changes in shared preferences. This package simplifies state management by providing a clean, functional approach to persisting and reacting to user data across app restarts. Ideal for apps requiring persistent, reactive data handling.

Use cases
  • Reactive state persistence
  • Real-time preference updates
  • User settings synchronization
  • Cross-platform data storage
  • App configuration management
  • Form state persistence
Key features
  • Stream-based API
  • RxDart integration
  • Automatic reactivity
  • Type-safe access
  • Error handling
  • Cross-platform support
Suitable for
  • Apps needing reactive data flow
  • Developers using RxDart
  • State management with persistence
  • Long-running applications
  • Multi-platform apps
Considerations
  • Requires RxDart dependency
  • Limited to key-value pairs
  • No complex query capabilities
  • Not suitable for large datasets
  • Manual error handling needed
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add rx_shared_preferences

Categories

Dependencies

Dependency list 3 items

Related projects