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
source_helper

Utilities to help with Dart source code generation and string literal formatting.

pub.devRemove
ScoresHealth96 (best)81
Maintenance92 (best)83
Quality100100
Popularity93 (best)70
Community100 (best)63
Compatibility100 (best)85
UsageDownloads (30 days)3.1M4.8M (best)
Likes4.5k (best)19
Pub points160 / 160160 / 160
GitHub stars2.2k (best)18
MaintenanceLatest release4.0.3, 5 weeks ago1.4.0, 5 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)5
Publisherdash-overflow.netgoogle.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoNo
KindFlutter widgetsPure Dart
Code generationYesYes
Direct dependencies112 (best)
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.
  • Simplifies common tasks in custom source code generation.
  • Well-maintained compatibility with recent analyzer and source_gen packages.
Weaknesses
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
  • Niche utility only applicable to developers writing code generators.
  • No official support or guarantee from Google.
WarningsNoneNone
freezed vs source_helper: which Flutter package should you use? | pubscout