Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecached_query

Library for caching, background fetching, and managing server state in Dart and Flutter.

pub.devRemove
stream_mixin

StreamMixin provides a lightweight stream‑based state manager for Flutter widgets.

pub.devRemove
ScoresHealth90 (best)46
Maintenance88 (best)0
Quality100100
Popularity81 (best)26
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)21k (best)1.6k
Likes103 (best)6
Pub points160 / 160160 / 160
GitHub stars88 (best)7
MaintenanceLatest release3.7.1, 3 weeks ago (best)3.0.4, 5 years ago
Major versions in 12 months00
Contributors11 (best)1
Publishercachedquery.devdart.nonstopio.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies20 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Automatic stale-while-revalidate caching mechanism
  • Infinite query handling and built-in mutation support with optimistic updates
  • Works alongside other state management options like Bloc or Provider
  • No extra dependencies beyond Flutter.
  • Easy to use with a single line mixin and StreamBuilder.
  • Provides lastUpdate for quick access to the current value.
  • Performance gains by avoiding rebuilds of the whole widget tree.
Weaknesses
  • Requires proper key management and configuration for cache invalidation
  • Persistent storage requires an additional package like cached_storage
  • Limited to stream‑based state; no built‑in persistence or routing.
  • No built‑in testing utilities beyond basic unit tests.
  • Lacks advanced features like selectors or middleware.
WarningsNoneNone
cached_query vs stream_mixin: which Flutter package should you use? | pubscout