Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuilt_value_generator

Generates immutable value types, enum classes, and JSON serializers for Dart.

pub.devRemove
drift_dev

Generates Dart database code from Drift table definitions as a dev‑dependency.

pub.devRemove
ScoresHealth8284 (best)
Maintenance6496 (best)
Quality96 (best)72
Popularity7779 (best)
Community100 (best)80
Compatibility8585
UsageDownloads (30 days)464k1.6M (best)
Likes148 (best)72
Pub points150 / 160 (best)130 / 160
GitHub stars8843.3k (best)
MaintenanceLatest release8.13.0, 3 months ago2.35.3, 12 days ago (best)
Major versions in 12 months00
Contributors50100+ (best)
Publishergoogle.devsimonbinder.eu
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies7 (best)25
LicenseBSD-3-CLAUSEMIT
Setup effortMediumMedium
JudgementStrengths
  • Full support for object-oriented design, interfaces, and generics in serialization.
  • Immutable collections and validation hooks out of the box.
  • Seamless integration with build_runner and the drift ecosystem
  • Supports latest analyzer, cli_util, and build versions
  • Handles reserved Dart keywords and SQL column name conflicts automatically
Weaknesses
  • Requires code generation and the build_runner tool.
  • Steeper learning curve and more boilerplate than some newer alternatives.
  • Requires a build step, adding compile time to the workflow
  • Only a dev‑dependency; no runtime functionality on its own
WarningsNoneNone
built_value_generator vs drift_dev: which Flutter package should you use? | pubscout