Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_local_db

Embedded local database for Flutter with Rust/LMDB backend, Diesel-style queries, and reactive streams.

pub.devRemove
shared_preferences

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

pub.devRemove
ScoresHealth6597 (best)
Maintenance7592 (best)
Quality94100 (best)
Popularity1099 (best)
Community46100 (best)
Compatibility100100
UsageDownloads (30 days)2109.6M (best)
Likes1311k (best)
Pub points160 / 160160 / 160
GitHub stars55.3k (best)
MaintenanceLatest release3.0.6, 7 weeks ago2.5.6, 7 weeks ago (best)
Major versions in 12 months20 (best)
Contributors2100+ (best)
Publisherjhonacode.comflutter.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFFI (native library)Plugin (native code)
Code generationYesNo
Direct dependencies96 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLow—
JudgementStrengths
  • No code generation or macros required for tables.
  • Supports reactive streams via watch queries.
  • Built on top of a fast Rust and LMDB engine with built-in offline-first sync support.
No summary yet
Weaknesses
  • Tables require the db_dsl_lints analyzer plugin for typed field extensions to avoid manual string-based field paths.
  • Full database functionality (tables) is limited to non-web platforms; web only supports the key-value API.
No summary yet
WarningsNone
  • Native setup
flutter_local_db vs shared_preferences: which Flutter package should you use? | pubscout