Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefreezed_annotation

Annotations for the freezed code-generator.

pub.devRemove
smartstruct

A Dart bean mapper annotation processor for generating type-safe mappers.

pub.devRemove
ScoresHealth78 (best)45
Maintenance56 (best)0
Quality81100 (best)
Popularity92 (best)31
Community80 (best)28
Compatibility100100
UsageDownloads (30 days)4.9M (best)705
Likes564 (best)48
Pub points150 / 160160 / 160 (best)
GitHub stars2.2k (best)36
MaintenanceLatest release3.1.0, a year ago (best)1.4.0, 4 years ago
Major versions in 12 months00
Contributors100+ (best)5
Publisherdash-overflow.netUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies30 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Lightweight package providing only the necessary annotations for freezed
  • Clear separation between annotations and the code generation logic
  • Type-safe object mapping at compile-time
  • Supports nested bean mapping, lists, and custom function mappings
  • Integrates well with build_runner and injectable
Weaknesses
  • Does nothing without the freezed package
  • Requires running code generation via build_runner
  • Manual workarounds needed for specific third-party libraries like freezed
Warnings
  • Quiet but busy
None
freezed_annotation vs smartstruct: which Flutter package should you use? | pubscout