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
maybe_copy_with

Write ergonomic copyWith methods for immutable models without build_runner.

pub.devRemove
ScoresHealth88 (best)41
Maintenance64 (best)7
Quality96100 (best)
Popularity97 (best)17
Community100 (best)6
Compatibility100100
UsageDownloads (30 days)18M (best)1.4k
Likes784 (best)9
Pub points150 / 160160 / 160 (best)
GitHub stars884 (best)0
MaintenanceLatest release8.13.0, 3 months ago (best)1.0.0, a year ago
Major versions in 12 months00
Contributors50 (best)1
Publisherdart.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies40 (best)
LicenseBSD-3-CLAUSEMIT
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
  • Zero dependencies and lightweight.
  • No code generation or build_runner setup required.
  • Solves the nullability dilemma in copyWith methods cleanly.
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
  • Fields must still be manually listed and implemented in copyWith.
  • Requires wrapping nullable field arguments with .maybe().
WarningsNoneNone
built_value vs maybe_copy_with: which Flutter package should you use? | pubscout