Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuilt_value

Immutable value types with builders, enum classes and JSON serialization for Dart.

pub.devRemove
smartstruct

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

pub.devRemove
ScoresHealth88 (best)45
Maintenance64 (best)0
Quality96100 (best)
Popularity97 (best)31
Community100 (best)28
Compatibility100100
UsageDownloads (30 days)18M (best)705
Likes784 (best)48
Pub points150 / 160160 / 160 (best)
GitHub stars884 (best)36
MaintenanceLatest release8.13.0, 3 months ago (best)1.4.0, 4 years ago
Major versions in 12 months00
Contributors50 (best)5
Publisherdart.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies40 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Type-safe object mapping at compile-time
  • Supports nested bean mapping, lists, and custom function mappings
  • Integrates well with build_runner and injectable
Weaknesses
  • Requires build_runner and a generator dev dependency
  • Steeper learning curve compared to plain json_serializable
  • Adds extra build step to the CI pipeline
  • Requires running code generation via build_runner
  • Manual workarounds needed for specific third-party libraries like freezed
WarningsNoneNone
built_value vs smartstruct: which Flutter package should you use? | pubscout