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
stealth_enum

Obfuscates Dart enums into zero-cost extension types to eliminate metadata from binaries.

pub.devRemove
ScoresHealth87 (best)72
Maintenance97 (best)90
Quality8594 (best)
Popularity71 (best)24
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)240k (best)1.5k
Likes111 (best)15
Pub points160 / 160160 / 160
GitHub stars86 (best)7
MaintenanceLatest release18.0.1, 6 days ago (best)2.2.7, 3 weeks ago
Major versions in 12 months82 (best)
Contributors12 (best)1
Publisheralexander-kirsch.comaslamambiloly.2bd.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
  • Removes enum identifier strings entirely from compiled AOT binaries.
  • Zero runtime overhead using extension types over primitive integers.
  • Compile-time exhaustiveness guarantees and safe parsing.
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 build_runner and code generation steps.
  • Enums must be defined privately with special annotations.
WarningsNoneNone
copy_with_extension vs stealth_enum: which Flutter package should you use? | pubscout