native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
Add more specific documentation regarding the features and how to best to leverage JNIgen within their Dart and Flutter applications. The documentation should include: - example for interface implementation -...
Build hooks have better caching behavior (no resources.json, only its own list of dependencies) so building native code or downloading assets should be done there. A link hook should only...
For example `public interface MyRunnable extends Runnable {}` won't have the `run` method. We should not force users to generate bindings for all of the ancestors of a class.
Say we have a nested class like: ```java public class A { public class B { // ... } } ``` As far as I know, we cannot use the...
```java public class A { public class B { // ... } } ``` We should be able to construct `B` from an **instance** of `A`. Something like: ```dart final...
We're currently changing `build.gradle` to `build.gradle.old` and changing the original to have an extra method. Sometimes, after running the script, the gradle file does not go back to its original...
Our `package:jnigen`s purpose is to produce dart bindings for Java/Kotlin APIs based on `.jar` files or java/kotlin sources. That is useful in general - but our main motivation for building...
- [x] dart-lang/native#705 - [ ] dart-lang/native#704 - [x] dart-lang/native#693 - [ ] dart-lang/native#713
The pdfbox_plugin example I added dart-lang/jnigen#36 was created by running `flutter create --template=plugin_ffi ...` and then removing many C related files from it. It's better to provide a starter template.....
`package:native_assets_cli` defines: ```dart abstract class Builder { Future run({ required BuildConfig config, required BuildOutput output, required Logger? logger, }); } class CBuilder implements Builder { ``` In a sketch for...