Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecached

Simplifies and speeds up creation of in-memory and persistent caching mechanisms using code generation.

pub.devRemove
shared_preferences

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

pub.devRemove
ScoresHealth5897 (best)
Maintenance1792 (best)
Quality87100 (best)
Popularity5699 (best)
Community80100 (best)
Compatibility85100 (best)
UsageDownloads (30 days)4.7k9.6M (best)
Likes9211k (best)
Pub points130 / 160160 / 160 (best)
GitHub stars605.3k (best)
MaintenanceLatest release1.8.1, a year ago2.5.6, 7 weeks ago (best)
Major versions in 12 months00
Contributors16100+ (best)
Publisheriteo.comflutter.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPure DartPlugin (native code)
Code generationYesNo
Direct dependencies76 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLow—
JudgementStrengths
  • Reduces boilerplate for caching method results.
  • Supports LRU cache algorithm, TTL, and conditional caching via 'where'.
  • Supports persistent storage integrations and cache streams.
No summary yet
Weaknesses
  • Requires running build_runner for code generation.
  • Deprecated persistentStorage parameter requires migrating to newer annotations.
No summary yet
WarningsNone
  • Native setup
cached vs shared_preferences: which Flutter package should you use? | pubscout