Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecopy_with_extension_gen

Generate type‑safe copyWith extensions for annotated classes and record typedefs.

pub.devRemove
freezed_annotation

Annotations for the freezed code-generator.

pub.devRemove
ScoresHealth85 (best)78
Maintenance97 (best)55
Quality85 (best)81
Popularity7392 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)152k4.9M (best)
Likes220564 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars862.2k (best)
MaintenanceLatest release18.0.1, 6 days ago (best)3.1.0, a year ago
Major versions in 12 months80 (best)
Contributors12100+ (best)
Publisheralexander-kirsch.comdash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies53 (best)
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Zero runtime cost, compile‑time safety
  • Supports Dart records and advanced options like immutable fields
  • No extra dependencies beyond build_runner
  • Lightweight package providing only the necessary annotations for freezed
  • Clear separation between annotations and the code generation logic
Weaknesses
  • Requires build_runner to regenerate code
  • Limited to annotated classes/records, not dynamic objects
  • Breaking changes in major releases (e.g., 17.0.0)
  • Does nothing without the freezed package
WarningsNone
  • Quiet but busy
copy_with_extension_gen vs freezed_annotation: which Flutter package should you use? | pubscout