jnigen 0.12.2 copy "jnigen: ^0.12.2" to clipboard
jnigen: ^0.12.2 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

With Flutter:

 $ flutter pub add jnigen

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

dependencies:
  jnigen: ^0.12.2

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';
88
likes
160
points
2.97k
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

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