Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributejnigen

A Dart bindings generator for Java and Kotlin APIs using JNI and dart:ffi.

pub.devRemove
swiftgen

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

pub.devRemove
ScoresHealth87 (best)78
Maintenance99 (best)83
Quality97 (best)96
Popularity65 (best)34
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)54k (best)12k
Likes135 (best)11
Pub points160 / 160 (best)150 / 160
GitHub stars281 (best)280
MaintenanceLatest release1.1.0, 3 days ago (best)0.2.0, 2 months ago
Major versions in 12 months10 (best)
Contributors100+100+
Publishertools.dart.devlabs.dart.dev
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFFI (native library)
Code generationYesNo
Direct dependencies117 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortHighMedium
JudgementStrengths
  • Automates tedious FFI boilerplate for Java/Kotlin interop.
  • Supports Gradle and Android SDK dependencies out of the box.
  • Automates generating bindings between Dart and Swift
  • Integrates with ffigen and swift2objc
Weaknesses
  • Requires manual configuration and a working JDK environment.
  • Class and symbol resolution can fail at runtime if ProGuard prunes classes on Android.
  • Experimental tool
  • Not documented thoroughly beyond basic description
WarningsNoneNone
jnigen vs swiftgen: which Flutter package should you use? | pubscout