Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecopy_with_extension

Annotation for generating copyWith extensions code using copy_with_extension_gen.

pub.devRemove
freezed

Code generation for immutable classes, tagged unions, and cloning without boilerplate.

pub.devRemove
ScoresHealth8796 (best)
Maintenance97 (best)92
Quality85100 (best)
Popularity7193 (best)
Community80100 (best)
Compatibility100100
UsageDownloads (30 days)240k3.1M (best)
Likes1114.5k (best)
Pub points160 / 160160 / 160
GitHub stars862.2k (best)
MaintenanceLatest release18.0.1, 6 days ago (best)4.0.3, 5 weeks ago
Major versions in 12 months80 (best)
Contributors12100+ (best)
Publisheralexander-kirsch.comdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationNoYes
Direct dependencies1 (best)11
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
Weaknesses
  • Requires build_runner and a separate generator package to produce code
  • Breaking changes in generator rules can require updating generated files and class configurations
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
copy_with_extension vs freezed: which Flutter package should you use? | pubscout