Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecbl

An offline-first NoSQL document database with SQL++ queries, full-text search, and bi-directional sync.

pub.devRemove
shared_preferences

Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.

pub.devRemove
ScoresHealth8697 (best)
Maintenance96 (best)92
Quality100100
Popularity5199 (best)
Community80100 (best)
Compatibility100100
UsageDownloads (30 days)3.3k9.6M (best)
Likes8011k (best)
Pub points160 / 160160 / 160
GitHub stars1525.3k (best)
MaintenanceLatest release4.0.0, 2 weeks ago (best)2.5.6, 7 weeks ago
Major versions in 12 months00
Contributors12100+ (best)
Publishercbl-dart.devflutter.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindFFI (native library)Plugin (native code)
Code generationNoNo
Direct dependencies126 (best)
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortMedium—
JudgementStrengths
  • Supports robust offline-first functionality and local data persistence.
  • Offers bi-directional and peer-to-peer data sync features.
  • Includes powerful SQL++ query support and live queries.
No summary yet
Weaknesses
  • Features like vector search, peer-to-peer sync, and encryption require the Enterprise Edition.
  • Involves complex native tooling and FFI setup compared to pure Dart key-value stores.
No summary yet
WarningsNone
  • Native setup
cbl vs shared_preferences: which Flutter package should you use? | pubscout