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
native_toolchain_c

Invoke the native C compiler installed on the host machine.

pub.devRemove
ScoresHealth87 (best)85
Maintenance99 (best)97
Quality97 (best)81
Popularity6574 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)54k4.7M (best)
Likes135 (best)27
Pub points160 / 160 (best)150 / 160
GitHub stars281281
MaintenanceLatest release1.1.0, 3 days ago (best)0.19.6, 2 weeks ago
Major versions in 12 months10 (best)
Contributors100+100+
Publishertools.dart.devlabs.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies118 (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.
  • Supports multiple platforms including Android, iOS, Windows, macOS, and Linux.
  • Allows mocking file systems and process invocations for tests via package:file and package:process.
  • Handles complex build scenarios like MSVC environments and linker options.
Weaknesses
  • Requires manual configuration and a working JDK environment.
  • Class and symbol resolution can fail at runtime if ProGuard prunes classes on Android.
  • Currently experimental with a high expected rate of API and breaking changes.
  • Published under labs.dart.dev with uncertain long-term graduation or discontinuation status.
WarningsNoneNone
jnigen vs native_toolchain_c: which Flutter package should you use? | pubscout