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_generator

Code generator that transforms private enums into obfuscated extension types.

pub.devRemove
ScoresHealth87 (best)70
Maintenance97 (best)90
Quality8594 (best)
Popularity71 (best)24
Community80 (best)41
Compatibility100 (best)85
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-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)5
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
  • Zero-cost obfuscated extension types that remove AOT binary metadata.
  • Keyed HMAC-SHA256 derivation ensuring mathematical irreversibility.
  • Integrates seamlessly with SharedPartBuilder alongside other code generators.
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 setup.
  • Requires careful secret key management and build.yaml configuration.
WarningsNoneNone
copy_with_extension vs stealth_enum_generator: which Flutter package should you use? | pubscout