Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecached_annotation

Provides annotations for the Cached code‑generator to define caching behavior.

pub.devRemove
freezed_annotation

Annotations for the freezed code-generator.

pub.devRemove
ScoresHealth5578 (best)
Maintenance1655 (best)
Quality7681 (best)
Popularity4292 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)5.4k4.9M (best)
Likes23564 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars602.2k (best)
MaintenanceLatest release1.8.1, a year ago (best)3.1.0, a year ago
Major versions in 12 months00
Contributors16100+ (best)
Publisheriteo.comdash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)3
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Lightweight annotation‑only library
  • Rich set of cache‑related annotations (persistent, lazy, update, delete, etc.)
  • Works seamlessly with the cached code‑generator
  • Lightweight package providing only the necessary annotations for freezed
  • Clear separation between annotations and the code generation logic
Weaknesses
  • Useless without the cached package
  • No runtime functionality on its own
  • Limited to annotation use‑cases
  • Does nothing without the freezed package
WarningsNone
  • Quiet but busy
cached_annotation vs freezed_annotation: which Flutter package should you use? | pubscout