Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedata_class_plugin

A tool that uses Dart's Analyzer to generate data classes, unions, and enums.

pub.devRemove
freezed

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

pub.devRemove
ScoresHealth7196 (best)
Maintenance8992 (best)
Quality68100 (best)
Popularity3793 (best)
Community52100 (best)
Compatibility100100
UsageDownloads (30 days)3.5k3.1M (best)
Likes194.5k (best)
Pub points120 / 160160 / 160 (best)
GitHub stars172.2k (best)
MaintenanceLatest release1.6.1, 6 weeks ago4.0.3, 5 weeks ago (best)
Major versions in 12 months00
Contributors3100+ (best)
Publisherptsakoulis.comdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationNoYes
Direct dependencies10 (best)11
LicenseMITMIT
Setup effortMediumMedium
JudgementStrengths
  • Fast build times using Tachyon
  • Provides IDE code actions instead of relying purely on a watch command
  • Supports customizable naming conventions and custom JSON converters
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
Weaknesses
  • Requires configuring Tachyon and the analysis server
  • Has breaking changes between major versions
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
data_class_plugin vs freezed: which Flutter package should you use? | pubscout