Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecopy_with_extension_gen

Generate type‑safe copyWith extensions for annotated classes and record typedefs.

pub.devRemove
hive_generator

Generates Hive TypeAdapter code for Dart classes automatically.

pub.devRemove
ScoresHealth85 (best)50
Maintenance97 (best)1
Quality85 (best)74
Popularity7376 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)152k170k (best)
Likes220426 (best)
Pub points160 / 160 (best)100 / 160
GitHub stars864.4k (best)
MaintenanceLatest release18.0.1, 6 days ago (best)2.0.1, 3 years ago
Major versions in 12 months80 (best)
Contributors1249 (best)
Publisheralexander-kirsch.comhivedb.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies55
LicenseMITUNKNOWN
Setup effortMediumLow
JudgementStrengths
  • Zero runtime cost, compile‑time safety
  • Supports Dart records and advanced options like immutable fields
  • No extra dependencies beyond build_runner
  • Eliminates manual adapter boiler‑plate
  • Supports null‑safety, inheritance, default values, and various field types
  • Works with build_runner and stays up‑to‑date with Hive versions
Weaknesses
  • Requires build_runner to regenerate code
  • Limited to annotated classes/records, not dynamic objects
  • Breaking changes in major releases (e.g., 17.0.0)
  • Requires build_runner step in CI/build process
  • Only works with Hive; not a generic serialization solution
WarningsNone
  • Quiet but busy
copy_with_extension_gen vs hive_generator: which Flutter package should you use? | pubscout