Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehive_local_storage

A wrapper around hive_ce for easy local data storage and encryption.

pub.devRemove
shared_preferences

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

pub.devRemove
ScoresHealth6997 (best)
Maintenance7891 (best)
Quality97100 (best)
Popularity1999 (best)
Community52100 (best)
Compatibility100100
UsageDownloads (30 days)7299.6M (best)
Likes1311k (best)
Pub points160 / 160160 / 160
GitHub stars85.3k (best)
MaintenanceLatest release3.0.1, 6 weeks ago (best)2.5.6, 7 weeks ago
Major versions in 12 months10 (best)
Contributors3100+ (best)
Publisherkishormainali.comflutter.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsPlugin (native code)
Code generationYesNo
Direct dependencies66
LicenseMITBSD-3-CLAUSE
Setup effortLow—
JudgementStrengths
  • Automatic encryption key storage via flutter_secure_storage
  • Per-box locks for improved write performance
  • Handles corrupted cache boxes automatically during initialization
No summary yet
Weaknesses
  • Relies on Hive and requires code generation for complex custom objects
  • Breaking changes removed the built-0in session/token management in version 3.0.0
No summary yet
WarningsNone
  • Native setup
hive_local_storage vs shared_preferences: which Flutter package should you use? | pubscout