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
proto_annotations

Annotations to mark and configure business model classes for code generation of .proto and Dart mappers.

pub.devRemove
ScoresHealth96 (best)75
Maintenance92 (best)86
Quality100 (best)97
Popularity93 (best)36
Community100 (best)64
Compatibility100 (best)85
UsageDownloads (30 days)3.1M (best)45k
Likes4.5k (best)6
Pub points160 / 160160 / 160
GitHub stars2.2k—
MaintenanceLatest release4.0.3, 5 weeks ago (best)7.1.0, 3 months ago
Major versions in 12 months0 (best)1
Contributors100+—
Publisherdash-overflow.netsquarealfa.com
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoNo
KindFlutter widgetsPure Dart
Code generationYesYes
Direct dependencies116 (best)
LicenseMITMPL-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.
  • Automates the generation of .proto files and Dart mapper classes.
  • Supports well-known types, polymorphism, and configuration options via annotations.
Weaknesses
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
  • Requires a separate generator package to perform the actual code generation.
  • Adds external dependencies like grpc and protobuf to your project.
WarningsNone
  • File-level copyleft
freezed vs proto_annotations: which Flutter package should you use? | pubscout