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
tonik

Pure Dart OpenAPI 3.0/3.1 code generator for type-safe API client packages.

pub.devRemove
ScoresHealth90 (best)73
Maintenance99 (best)88
Quality88100 (best)
Popularity88 (best)27
Community80 (best)58
Compatibility8585
UsageDownloads (30 days)925k (best)4.5k
Likes1.3k (best)9
Pub points160 / 160160 / 160
GitHub stars5.3k (best)13
MaintenanceLatest release30.0.4, 4 days ago (best)0.11.1, 4 weeks ago
Major versions in 12 months40 (best)
Contributors100+ (best)4
Publisherflutter.devottenweller.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies109 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumLow
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.
  • Generates distinct types for every status code and content type combination.
  • Pure Dart implementation with no JVM or Docker requirement.
  • Supports all OpenAPI parameter encoding styles and advanced composition features like oneOf and allOf.
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.
  • Requires code regeneration whenever the OpenAPI specification changes.
WarningsNoneNone
pigeon vs tonik: which Flutter package should you use? | pubscout