Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild_runner

A build system for Dart code generation and modular compilation.

pub.devRemove
macro_kit

A development-time macro system for instant code generation without build_runner.

pub.devRemove
ScoresHealth93 (best)63
Maintenance90 (best)64
Quality100 (best)96
Popularity95 (best)26
Community80 (best)41
Compatibility100 (best)85
UsageDownloads (30 days)7.8M (best)301
Likes2.4k (best)49
Pub points160 / 160 (best)150 / 160
GitHub stars871 (best)48
MaintenanceLatest release2.17.1, 5 weeks ago (best)0.8.2, 3 months ago
Major versions in 12 months00
Contributors100+ (best)1
Publishertools.dart.devrebaz.xyz
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies3018 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowMedium
JudgementStrengths
  • Integrates seamlessly with popular serialization and utility packages
  • Supports incremental builds and continuous watch mode
  • Generates code in under 100ms after initial run
  • Eliminates slow build processes and build_runner conflicts
  • Allows real-time debugging of macros inside your app
Weaknesses
  • Requires running commands via terminal or IDE to update generated files
  • Can slow down build times on large projects
  • Macros are currently limited to classes, top-level functions, records, and top-level variables
  • Requires manual setup of an analysis_options plugin and a macro_context file
WarningsNoneNone
build_runner vs macro_kit: which Flutter package should you use? | pubscout