jnigen 0.8.0 copy "jnigen: ^0.8.0" to clipboard
jnigen: ^0.8.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

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.8.0

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';
65
likes
130
pub points
78%
popularity

Publisher

verified publisherlabs.dart.dev

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