Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesqflite

SQLite plugin for Flutter supporting iOS, Android and MacOS.

pub.devRemove
sqlite3

Lightweight and convenient SQLite bindings for Dart using dart:ffi

pub.devRemove
ScoresHealth96 (best)92
Maintenance9697 (best)
Quality100 (best)96
Popularity97 (best)93
Community100 (best)80
Compatibility8485 (best)
UsageDownloads (30 days)3.7M3.9M (best)
Likes5.6k (best)467
Pub points160 / 160 (best)150 / 160
GitHub stars3k (best)305
MaintenanceLatest release2.4.6, 11 days ago (best)3.9.1, 13 days ago
Major versions in 12 months00
Contributors65 (best)40
Publishertekartik.comsimonbinder.eu
FitPlatformsAndroid, iOS, macOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesNo
KindPlugin (native code)FFI (native library)
Code generationNoYes
Direct dependencies5 (best)10
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • 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.
  • 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
  • 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.
  • 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
  • Native setup
None
sqflite vs sqlite3: which Flutter package should you use? | pubscout