Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepigeon

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

pub.devRemove
swiftgen

A tool for generating bindings that allow interop between Dart and Swift code.

pub.devRemove
ScoresHealth90 (best)78
Maintenance99 (best)83
Quality8896 (best)
Popularity88 (best)34
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)925k (best)12k
Likes1.3k (best)11
Pub points160 / 160 (best)150 / 160
GitHub stars5.3k (best)280
MaintenanceLatest release30.0.4, 4 days ago (best)0.2.0, 2 months ago
Major versions in 12 months40 (best)
Contributors100+100+
Publisherflutter.devlabs.dart.dev
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies107 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • 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.
  • Automates generating bindings between Dart and Swift
  • Integrates with ffigen and swift2objc
Weaknesses
  • 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.
  • Experimental tool
  • Not documented thoroughly beyond basic description
WarningsNoneNone
pigeon vs swiftgen: which Flutter package should you use? | pubscout