Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributelean_builder

Lean Builder: a fast, efficient Dart build system for code generation

pub.devRemove
source_gen

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

pub.devRemove
ScoresHealth7384 (best)
Maintenance5886 (best)
Quality84 (best)81
Popularity7487 (best)
Community7480 (best)
Compatibility8585
UsageDownloads (30 days)614k7.6M (best)
Likes57191 (best)
Pub points130 / 160150 / 160 (best)
GitHub stars69493 (best)
MaintenanceLatest release1.2.2, 3 months ago4.3.1, 5 weeks ago (best)
Major versions in 12 months10 (best)
Contributors748 (best)
Publishercodeness.lytools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies169 (best)
LicenseMITBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Fast incremental builds
  • Parallel processing for maximum efficiency
  • Hot reload support in watch mode
  • Simple declarative configuration using annotations
  • 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
  • Not fully tested, active development
  • Limited ecosystem compared to build_runner
  • May lack some advanced features of the official build system
  • Requires understanding of the Dart build system and analyzer APIs
WarningsNoneNone
lean_builder vs source_gen: which Flutter package should you use? | pubscout