jnigen 0.14.0 copy "jnigen: ^0.14.0" to clipboard
jnigen: ^0.14.0 copied to clipboard

A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add jnigen
copied to clipboard

With Flutter:

 $ flutter pub add jnigen
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  jnigen: ^0.14.0
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:jnigen/jnigen.dart';
copied to clipboard
93
likes
150
points
2.48k
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

2024.08.01 - 2025.02.13

A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine.

Repository (GitHub)
View/report issues
Contributing

Topics

#interop #ffi #codegen #java #jni

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, cli_config, json_annotation, logging, meta, package_config, path, pub_semver, yaml

More

Packages that depend on jnigen