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
state_extended

Extends Flutter's State class with controllers, lifecycle events, and async support.

pub.devRemove
ScoresHealth90 (best)49
Maintenance89 (best)10
Quality100100
Popularity81 (best)19
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)21k (best)701
Likes103 (best)11
Pub points160 / 160160 / 160
GitHub stars88 (best)5
MaintenanceLatest release3.7.1, 3 weeks ago (best)7.6.0, a year ago
Major versions in 12 months00
Contributors11 (best)2
Publishercachedquery.devandrioussolutions.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies21 (best)
LicenseMITBSD-2-CLAUSE
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
  • Separates business logic cleanly from the UI and State objects.
  • Provides over 20 lifecycle event handlers for State and Controller.
  • Built-in asynchronous initialization support via initAsync().
Weaknesses
  • Requires proper key management and configuration for cache invalidation
  • Persistent storage requires an additional package like cached_storage
  • Not compatible with GetX architecture despite similar controller naming.
  • Custom state management approach that deviates from standard Flutter paradigms.
WarningsNoneNone
cached_query vs state_extended: which Flutter package should you use? | pubscout