Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesqflite_common

Dart wrapper on SQLite providing the common API for sqflite and desktop FFI implementations.

pub.devRemove
sqlite3

Lightweight and convenient SQLite bindings for Dart using dart:ffi

pub.devRemove
ScoresHealth93 (best)92
Maintenance9697 (best)
Quality100 (best)96
Popularity8593 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)4.6M (best)3.9M
Likes76467 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars3k (best)305
MaintenanceLatest release2.5.17, 11 days ago (best)3.9.1, 13 days ago
Major versions in 12 months00
Contributors65 (best)40
Publishertekartik.comsimonbinder.eu
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFFI (native library)
Code generationNoYes
Direct dependencies3 (best)10
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Enables writing platform-agnostic business logic using sqlite_api.
  • Serves as the common foundation for sqflite and sqflite_common_ffi.
  • 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
  • Not intended for direct use in standard applications.
  • Requires proper platform-specific implementations to be imported alongside it.
  • 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.
WarningsNoneNone
sqflite_common vs sqlite3: which Flutter package should you use? | pubscout