Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecached_storage

Adds persistent storage to CachedQuery using Sqflite

pub.devRemove
idb_sqflite

IndexedDB API implementation on top of sqflite for Flutter and Dart VM

pub.devRemove
ScoresHealth7981 (best)
Maintenance8894 (best)
Quality100100
Popularity4152 (best)
Community80 (best)46
Compatibility84100 (best)
UsageDownloads (30 days)6k (best)5.1k
Likes1546 (best)
Pub points160 / 160160 / 160
GitHub stars88 (best)22
MaintenanceLatest release3.3.1, 3 weeks ago1.5.3, 12 days ago (best)
Major versions in 12 months00
Contributors11 (best)2
Publishercachedquery.devtekartik.com
FitPlatformsAndroid, iOS, macOSAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies3 (best)5
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Built on Sqflite, no extra dependencies
  • Automatic persistence for all queries
  • Supports any JSON‑serializable data
  • Easy to initialize with CachedStorage.ensureInitialized()
  • Brings IndexedDB API support to mobile and desktop via sqflite
  • Works across Android, iOS, Web, Windows, macOS, and Linux
Weaknesses
  • Only works with CachedQuery
  • Relies on Sqflite, so only works on mobile/desktop
  • No support for encrypted storage
  • Performance is constrained by running an IndexedDB emulation layer over SQLite
  • API style follows IndexedDB rather than native Dart/SQL idioms
WarningsNoneNone
cached_storage vs idb_sqflite: which Flutter package should you use? | pubscout