Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecopy_with_extension_gen

Generate type‑safe copyWith extensions for annotated classes and record typedefs.

pub.devRemove
protobuf

Provides runtime support for Dart protocol buffer messages generated by protoc_plugin.

pub.devRemove
ScoresHealth8586 (best)
Maintenance97 (best)88
Quality85 (best)78
Popularity7386 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)152k3.2M (best)
Likes220256 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars86571 (best)
MaintenanceLatest release18.0.1, 6 days ago (best)6.1.0, 2 months ago
Major versions in 12 months81 (best)
Contributors1268 (best)
Publisheralexander-kirsch.comgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies53 (best)
LicenseMITBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Zero runtime cost, compile‑time safety
  • Supports Dart records and advanced options like immutable fields
  • No extra dependencies beyond build_runner
  • Official Google-supported implementation
  • Handles large messages and text format conversion
  • Works across all major platforms
Weaknesses
  • Requires build_runner to regenerate code
  • Limited to annotated classes/records, not dynamic objects
  • Breaking changes in major releases (e.g., 17.0.0)
  • Requires code generation step with protoc_plugin
  • No runtime schema introspection
WarningsNoneNone
copy_with_extension_gen vs protobuf: which Flutter package should you use? | pubscout