Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshared_preferences

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

pub.devRemove
stash

Key-value store abstraction with caching semantics and pluggable backends.

pub.devRemove
ScoresHealth97 (best)30
Maintenance92 (best)9
Quality100 (best)87
Popularity99 (best)73
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)9.6M (best)24k
Likes11k (best)158
Pub points160 / 160 (best)130 / 160
GitHub stars5.3k (best)91
MaintenanceLatest release2.5.6, 7 weeks ago (best)5.2.0, 3 years ago
Major versions in 12 months00
Contributors100+ (best)8
Publisherflutter.devivoleitao.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies65 (best)
LicenseBSD-3-CLAUSEMIT
Setup effort—Low
JudgementStrengthsNo summary yet
  • Rich caching features including multiple expiry and eviction policies (LRU, LFU, FIFO, etc.).
  • Pluggable backend architecture supporting memory, file, SQLite, Hive, and more.
  • Out-of-the-box binary serialization using msgpack.
WeaknessesNo summary yet
  • Requires adding both the core API package and a separate storage provider package.
  • API surface can be complex due to many configuration options and policies.
Warnings
  • Native setup
  • Repository archived
shared_preferences vs stash: which Flutter package should you use? | pubscout