Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefreezed

Code generation for immutable classes, tagged unions, and cloning without boilerplate.

pub.devRemove
reflection_factory

Allows Dart reflection and method proxies using code generation across all platforms.

pub.devRemove
ScoresHealth96 (best)68
Maintenance92 (best)82
Quality100100
Popularity93 (best)38
Community100 (best)6
Compatibility100100
UsageDownloads (30 days)3.1M (best)5.7k
Likes4.5k (best)18
Pub points160 / 160160 / 160
GitHub stars2.2k (best)20
MaintenanceLatest release4.0.3, 5 weeks ago (best)2.13.0, 5 weeks ago
Major versions in 12 months00
Contributors100+ (best)1
Publisherdash-overflow.netUnverified
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationYesYes
Direct dependencies11 (best)12
LicenseMITAPACHE-2.0
Setup effortMediumLow
JudgementStrengths
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
  • Works across all Dart platforms where native mirrors are unavailable.
  • Supports third-party classes through reflection bridges.
  • Provides class proxies for intercepting method calls.
Weaknesses
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
  • Requires maintaining a build_runner code generation step.
  • Requires proper part directives in files where reflection is enabled.
WarningsNoneNone
freezed vs reflection_factory: which Flutter package should you use? | pubscout