Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesafe_local_storage

Key-value storage library for Dart/Flutter that safely reads and writes local data.

pub.devRemove
shared_preferences

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

pub.devRemove
ScoresHealth7397 (best)
Maintenance8691 (best)
Quality100100
Popularity6299 (best)
Community11100 (best)
Compatibility85100 (best)
UsageDownloads (30 days)559k9.6M (best)
Likes1211k (best)
Pub points160 / 160160 / 160
GitHub stars145.3k (best)
MaintenanceLatest release2.0.7, 4 weeks ago (best)2.5.6, 7 weeks ago
Major versions in 12 months00
Contributors2100+ (best)
PublisherUnverifiedflutter.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPure DartPlugin (native code)
Code generationNoNo
Direct dependencies2 (best)6
LicenseMITBSD-3-CLAUSE
Setup effortLow—
JudgementStrengths
  • Cross-platform support
  • Simple, declarative API
  • No build_runner or codegen required
No summary yet
Weaknesses
  • No built-in encryption
  • Limited to primitive types
  • No query or migration capabilities
No summary yet
Warnings
  • Unverified publisher
  • Native setup
safe_local_storage vs shared_preferences: which Flutter package should you use? | pubscout