Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild

Package for authoring build_runner compatible code generators.

pub.devRemove
copy_with_extension

Annotation for generating copyWith extensions code using copy_with_extension_gen.

pub.devRemove
ScoresHealth8787
Maintenance9097 (best)
Quality93 (best)85
Popularity85 (best)71
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)8.1M (best)240k
Likes102111 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars871 (best)86
MaintenanceLatest release5.0.0, 5 weeks ago18.0.1, 6 days ago (best)
Major versions in 12 months1 (best)8
Contributors100+ (best)12
Publisherdart.devalexander-kirsch.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies61 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumLow
JudgementStrengths
  • Provides the core underlying Builder interface used across the Dart build ecosystem.
  • Gives easy access to the analyzer for processing and resolving Dart source code.
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
Weaknesses
  • Low-level compared to source_gen, requiring more manual handling of build steps.
  • Major version updates can introduce breaking changes for packages implementing BuildStep.
  • Requires build_runner and a separate generator package to produce code
  • Breaking changes in generator rules can require updating generated files and class configurations
WarningsNoneNone
build vs copy_with_extension: which Flutter package should you use? | pubscout