Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild

Package for authoring build_runner compatible code generators.

pub.devRemove
flutter_gen

A code generator for your assets, fonts, and colors to eliminate string-based APIs.

pub.devRemove
ScoresHealth8787
Maintenance90 (best)79
Quality93100 (best)
Popularity85 (best)79
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)8.1M (best)138k
Likes1021.8k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars8711.6k (best)
MaintenanceLatest release5.0.0, 5 weeks ago (best)5.15.0, 4 months ago
Major versions in 12 months10 (best)
Contributors100+ (best)46
Publisherdart.devwasabeef.jp
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies66
LicenseBSD-3-CLAUSEMIT
Setup effortMediumMedium
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.
  • Eliminates typo-prone string-based asset APIs.
  • Integrates well with popular packages like flutter_svg, lottie, and rive.
  • Supports build_runner and pub workspaces.
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 running code generation (build_runner) when assets change.
  • Adds a build step and dependency footprint to the project.
WarningsNoneNone
build vs flutter_gen: which Flutter package should you use? | pubscout