Skip to main content

The Best Shared Preferences Packages for Flutter

Shared Preferences is a great way to share data across your Flutter apps, but it can be hard to find the right package. There are so many packages out there and they all seem like they do the same thing. It’s hard to know which one will work best for you and your team. We’ve done some research and found that these shared preferences packages are the best of the bunch.

shared_preferences

The Flutter plugin for reading and writing simple key-value pairs wraps NSUserDefaults on iOS and SharedPreferences on Android.

rx_shared_preferences

Preference updates for the rxdart streaming service are communicated via Reactive Streams. The SharedPreference wrapper is reactive stream rxdart. A stream-based wrapper around shared preferences that allows for reactively stored key-value pairs.

shared_preferences_dtx

The shared preferences package contains a single preference interface that automatically loads when you open the app, allowing you to edit your settings without having to go back and forth between different menus. Right in the package shared_preferences, it lets you access most of the used properties/functions.

native_shared_preferences

This bundle includes the shared preferences file without the initial in the keys. It’s used to move information from a previous native app.

shared_preferences_windows

This package is implementation of shared_preferences for Windows.

streaming_shared_preferences

This is a wrapper around shared_preferences that allows reactive key-value storage.

By continuing to use the site, you agree to the use of cookies.