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
sqflite

SQLite plugin for Flutter supporting iOS, Android and MacOS.

pub.devRemove
ScoresHealth6596 (best)
Maintenance7596 (best)
Quality94100 (best)
Popularity1097 (best)
Community46100 (best)
Compatibility100 (best)84
UsageDownloads (30 days)2103.8M (best)
Likes135.6k (best)
Pub points160 / 160160 / 160
GitHub stars53k (best)
MaintenanceLatest release3.0.6, 7 weeks ago2.4.6, 12 days ago (best)
Major versions in 12 months20 (best)
Contributors265 (best)
Publisherjhonacode.comtekartik.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, macOS
WASM-readyYesYes
KindFFI (native library)Plugin (native code)
Code generationYesNo
Direct dependencies95 (best)
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
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.
  • Mature and widely used in the Flutter ecosystem.
  • Supports transactions and batch execution for performance.
  • Executes database operations in a background thread on iOS and Android.
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.
  • Concurrent read and write transactions are not supported due to SQLite limitations.
  • Does not support complex types like DateTime or bool natively out of the box.
WarningsNone
  • Native setup
flutter_local_db vs sqflite: which Flutter package should you use? | pubscout