Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributereflectable

Provides runtime reflection via code generation with configurable capabilities.

pub.devRemove
source_gen

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

pub.devRemove
ScoresHealth7184 (best)
Maintenance5286 (best)
Quality100 (best)81
Popularity6887 (best)
Community4580 (best)
Compatibility100 (best)85
UsageDownloads (30 days)17k7.6M (best)
Likes188191 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars387493 (best)
MaintenanceLatest release5.2.3, 6 months ago4.3.1, 5 weeks ago (best)
Major versions in 12 months00
Contributors1648 (best)
PublisherUnverifiedtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies0 (best)9
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Fine‑grained capability control reduces runtime footprint.
  • Supports all Dart platforms (android, ios, web, windows, macos, linux).
  • No need for dart:mirrors which is not available on all platforms.
  • 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
  • Requires build_runner and a separate builder package.
  • Generated code must be imported and initialized manually.
  • Not suitable for packages that will be published with generated files.
  • Requires understanding of the Dart build system and analyzer APIs
WarningsNoneNone
reflectable vs source_gen: which Flutter package should you use? | pubscout