Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild

Package for authoring build_runner compatible code generators.

pub.devRemove
tonik

Pure Dart OpenAPI 3.0/3.1 code generator for type-safe API client packages.

pub.devRemove
ScoresHealth87 (best)73
Maintenance90 (best)88
Quality93100 (best)
Popularity85 (best)27
Community80 (best)58
Compatibility8585
UsageDownloads (30 days)8.1M (best)4.5k
Likes102 (best)9
Pub points150 / 160160 / 160 (best)
GitHub stars871 (best)13
MaintenanceLatest release5.0.0, 5 weeks ago0.11.1, 4 weeks ago (best)
Major versions in 12 months10 (best)
Contributors100+ (best)4
Publisherdart.devottenweller.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies6 (best)9
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.
  • Generates distinct types for every status code and content type combination.
  • Pure Dart implementation with no JVM or Docker requirement.
  • Supports all OpenAPI parameter encoding styles and advanced composition features like oneOf and allOf.
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 code regeneration whenever the OpenAPI specification changes.
WarningsNoneNone
build vs tonik: which Flutter package should you use? | pubscout