Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecopy_with_extension

Annotation for generating copyWith extensions code using copy_with_extension_gen.

pub.devRemove
proto_annotations

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

pub.devRemove
ScoresHealth87 (best)75
Maintenance97 (best)86
Quality8597 (best)
Popularity71 (best)36
Community80 (best)64
Compatibility100 (best)85
UsageDownloads (30 days)240k (best)45k
Likes111 (best)6
Pub points160 / 160160 / 160
GitHub stars86—
MaintenanceLatest release18.0.1, 6 days ago (best)7.1.0, 3 months ago
Major versions in 12 months81 (best)
Contributors12—
Publisheralexander-kirsch.comsquarealfa.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)6
LicenseMITMPL-2.0
Setup effortLowLow
JudgementStrengths
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
  • Automates the generation of .proto files and Dart mapper classes.
  • Supports well-known types, polymorphism, and configuration options via annotations.
Weaknesses
  • Requires build_runner and a separate generator package to produce code
  • Breaking changes in generator rules can require updating generated files and class configurations
  • 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
copy_with_extension vs proto_annotations: which Flutter package should you use? | pubscout