Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedrift_sqflite

Flutter-only drift implementation using sqflite for SQLite storage.

pub.devRemove
sqlite3

Lightweight and convenient SQLite bindings for Dart using dart:ffi

pub.devRemove
ScoresHealth5092 (best)
Maintenance4997 (best)
Quality100 (best)96
Popularity5593 (best)
Community8080
Compatibility8485 (best)
UsageDownloads (30 days)19k3.9M (best)
Likes23467 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars3.3k (best)305
MaintenanceLatest release2.0.1, 3 years ago3.9.1, 13 days ago (best)
Major versions in 12 months00
Contributors100+ (best)40
Publishersimonbinder.eusimonbinder.eu
FitPlatformsAndroid, iOS, macOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoNo
KindFlutter widgetsFFI (native library)
Code generationNoYes
Direct dependencies3 (best)10
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Easy migration from moor_flutter
  • No need for sqlite3_flutter_libs or other native binaries
  • Works with existing sqflite infrastructure
  • Bundles SQLite using hooks so no external dependencies are needed.
  • Supports web through WebAssembly and virtual file systems.
  • Provides both native and web APIs as well as a common shared interface.
Weaknesses
  • Only supports Flutter platforms (android, ios, macos)
  • Relies on sqflite which can be slower than native sqlite3
  • Does not support code‑generation‑free usage
  • Operates synchronously on the main thread by default, requiring manual background isolates for optimal performance in large apps.
  • Web setup requires downloading and hosting a separate WebAssembly module.
Warnings
  • Quiet but busy
None
drift_sqflite vs sqlite3: which Flutter package should you use? | pubscout