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
data_class_plugin

A tool that uses Dart's Analyzer to generate data classes, unions, and enums.

pub.devRemove
ScoresHealth88 (best)71
Maintenance6489 (best)
Quality96 (best)68
Popularity97 (best)37
Community100 (best)52
Compatibility100100
UsageDownloads (30 days)18M (best)3.5k
Likes784 (best)19
Pub points150 / 160 (best)120 / 160
GitHub stars884 (best)17
MaintenanceLatest release8.13.0, 3 months ago1.6.1, 6 weeks ago (best)
Major versions in 12 months00
Contributors50 (best)3
Publisherdart.devptsakoulis.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies4 (best)10
LicenseBSD-3-CLAUSEMIT
Setup effortMediumMedium
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Fast build times using Tachyon
  • Provides IDE code actions instead of relying purely on a watch command
  • Supports customizable naming conventions and custom JSON converters
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 configuring Tachyon and the analysis server
  • Has breaking changes between major versions
WarningsNoneNone
built_value vs data_class_plugin: which Flutter package should you use? | pubscout