I'm learning how to use dart ffi. I don't have much C experience or knowledge. I'm trying to call a function from a C library(<a href="https://sourceforg...
I'm new to ffi. But I successfully used dart-ffi with functions call. Now, I'd like to use a C++ object in dart ffi. I don't know if it is possible, but I trie...
I have a struct that receives an array of type Float from a C++ library. <pre><code>class MyStruct extends Struct{ @Array.multi([12]) external Array<F...
I am trying to develop android application using flutter. I used <strong>Flutter FFI</strong> to interface and call function from <strong>.C (C language)</strong> file...
Is there a way we can efficiently look at network traffic with Flutter when developing for iOS and Android? Flutter obviously doesn't work with proxy tools like...
I m trying to use a rust pre-build library in my flutter project. I put my core.so in android/app/src/main/jniLibs/ directory, both in arm64-v8a and ...
I am trying to get array of 4 x int data using struct from c to dart via ffi.The code is compiling fine but the value i got in dart are garbage value that means i am g...
I am writing a Dart library to access a C shared object using Flutter. So far, the example app I created is working (somewhat) as expected, but i want to includ...
I am developing a simple application and in the authentication side i need to use the encrypt package to encrypt jwt tokens but since I installed the encrypt dependenc...
I use dart FFI to retrieve data from native side, and show the data with flutter <code>CustomPaint</code>. I use <code>ValueNotifier</code> to control <code>Cus...
Example: I want to call <code>libffmpeg.dll</code> in flutter-windows-app. Where should I put the <code>libffmpeg</code>, make it could be packed in <code>release</cod...
I am working on a Flutter plugin that uses OpenCV to perform image processing for both Android and iOS. Having followed the official tutorial on <a href="https:...
I am trying to send an image to my Custom C++ code which I am planning to run using dart:ffi. I have successfully run the hello world problem where I send two integers...
I am trying build the <a href="https://github.com/fzyzcjy/flutter_rust_bridge" rel="nofollow noreferrer">flutter_rust_bridge project</a> (frb_example/with_flutter) for...
I am trying to import a dll into my windows app and use it with ffi. I successfully generated the bindings with ffigen. But when I try to open the dll I get an...