Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeenhanced_enum

Generator for enum extensions, string conversion, and pattern matching methods.

pub.devRemove
freezed_annotation

Annotations for the freezed code-generator.

pub.devRemove
ScoresHealth4578 (best)
Maintenance056 (best)
Quality7681 (best)
Popularity2492 (best)
Community6480 (best)
Compatibility100100
UsageDownloads (30 days)3k4.9M (best)
Likes8564 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars—2.2k
MaintenanceLatest release0.2.4, 4 years ago3.1.0, a year ago (best)
Major versions in 12 months00
Contributors—100+
Publisherfamedly.comdash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies0 (best)3
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports multiple naming conventions out of the box.
  • Provides built-in pattern matching methods (when, maybeWhen).
  • Allows custom overrides for individual enum values.
  • Lightweight package providing only the necessary annotations for freezed
  • Clear separation between annotations and the code generation logic
Weaknesses
  • Requires build_runner and code generation setup.
  • Depends on an extra generator package.
  • Does nothing without the freezed package
WarningsNone
  • Quiet but busy
enhanced_enum vs freezed_annotation: which Flutter package should you use? | pubscout