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
freezed

Code generation for immutable classes, tagged unions, and cloning without boilerplate.

pub.devRemove
ScoresHealth7996 (best)
Maintenance7992 (best)
Quality96100 (best)
Popularity5693 (best)
Community80100 (best)
Compatibility85100 (best)
UsageDownloads (30 days)11k3.1M (best)
Likes1424.5k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars732.2k (best)
MaintenanceLatest release2.18.0, 4 weeks ago (best)4.0.3, 5 weeks ago
Major versions in 12 months00
Contributors11100+ (best)
Publishernetglade.czdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFlutter widgets
Code generationYesYes
Direct dependencies10 (best)11
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.
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
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 running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
auto_mappr vs freezed: which Flutter package should you use? | pubscout