Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeauto_mappr

Code generation package for mapping between different objects with ease.

pub.devRemove
copy_with_extension_gen

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

pub.devRemove
ScoresHealth7985 (best)
Maintenance7997 (best)
Quality96 (best)85
Popularity5673 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)11k152k (best)
Likes142220 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars7386 (best)
MaintenanceLatest release2.18.0, 4 weeks ago18.0.1, 6 days ago (best)
Major versions in 12 months0 (best)8
Contributors1112 (best)
Publishernetglade.czalexander-kirsch.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies105 (best)
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Moves mapping overhead from runtime to pre-compile time for fast execution.
  • Extensive customization options including custom mapping functions, field ignores, defaults, and reverse mapping.
  • Works well with packages like equatable and json_serializable.
  • Zero runtime cost, compile‑time safety
  • Supports Dart records and advanced options like immutable fields
  • No extra dependencies beyond build_runner
Weaknesses
  • Requires running a build_runner step whenever mappings or models change.
  • Strict type inference must be handled carefully using explicit types or generics.
  • Requires build_runner to regenerate code
  • Limited to annotated classes/records, not dynamic objects
  • Breaking changes in major releases (e.g., 17.0.0)
WarningsNoneNone
auto_mappr vs copy_with_extension_gen: which Flutter package should you use? | pubscout