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
stream_chat_persistence

Provides offline SQLite persistence for Stream Chat in Flutter.

pub.devRemove
ScoresHealth6584 (best)
Maintenance7595 (best)
Quality94 (best)87
Popularity1056 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)21030k (best)
Likes1320 (best)
Pub points160 / 160 (best)130 / 160
GitHub stars51.1k (best)
MaintenanceLatest release3.0.6, 7 weeks ago10.7.0, 11 days ago (best)
Major versions in 12 months20 (best)
Contributors275 (best)
Publisherjhonacode.comgetstream.io
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFFI (native library)Flutter widgets
Code generationYesNo
Direct dependencies97 (best)
LicenseMITUNKNOWN
Setup effortLowMedium
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.
  • Full offline cache for all chat entities
  • Built on Drift with indices for performance
  • Works across mobile, desktop, and web (with sql.js)
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.
  • Adds SQLite dependency and native setup
  • Web requires manual inclusion of sql-wasm files
  • Only useful with Stream Chat, not a general storage library
WarningsNoneNone
flutter_local_db vs stream_chat_persistence: which Flutter package should you use? | pubscout