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
pigeon

Type-safe code generator for communication between Flutter and host platforms.

pub.devRemove
ScoresHealth7990 (best)
Maintenance7999 (best)
Quality96 (best)88
Popularity5688 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)11k925k (best)
Likes1421.3k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars735.3k (best)
MaintenanceLatest release2.18.0, 4 weeks ago30.0.4, 4 days ago (best)
Major versions in 12 months0 (best)4
Contributors11100+ (best)
Publishernetglade.czflutter.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies1010
LicenseMITBSD-3-CLAUSE
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.
  • Supports multiple host targets: Android (Kotlin/Java), iOS/macOS (Swift/Obj-C), Windows (C++), and Linux (GObject).
  • Offers both standard platform channels and high-performance native interop (direct Dart FFI and JNI).
  • Generates typed data models, error handling, asynchronous wrappers, and event channels.
Weaknesses
  • Requires running a build_runner step whenever mappings or models change.
  • Strict type inference must be handled carefully using explicit types or generics.
  • Frequent breaking changes in generated code across package updates make it unsuitable for public API exposure.
  • Native interop mode is complex to set up and has preview limitations regarding multi-engine routing.
WarningsNoneNone
auto_mappr vs pigeon: which Flutter package should you use? | pubscout