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
source_gen

Source code generation builders and utilities for the Dart build system.

pub.devRemove
ScoresHealth87 (best)86
Maintenance97 (best)93
Quality85 (best)81
Popularity7187 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)240k7.6M (best)
Likes111191 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars86492 (best)
MaintenanceLatest release18.0.1, 6 days ago (best)4.3.1, 5 weeks ago
Major versions in 12 months80 (best)
Contributors1249 (best)
Publisheralexander-kirsch.comtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)9
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
  • Exposes a developer-friendly API on top of lower-level analyzer and build packages
  • Supports multiple code generators integrating seamlessly in the same project via shared part builders
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 understanding of the Dart build system and analyzer APIs
WarningsNoneNone
copy_with_extension vs source_gen: which Flutter package should you use? | pubscout