python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Dart/Flutter FFI: Convert List to Array
I have a struct that receives an array of type Float from a C++ library.
class MyStruct extends Struct{
@Array.multi([12])
external Array<Float> states;
}
I am able to receive data an...
Sanjay
Votes: 0
Answers: 1
How to convert RGB pixmap to ui.Image in Dart?
Currently I have a Uint8List, formatted like [R,G,B,R,G,B,...] for all the pixels of the image. And of course I have its width and height.
I found decodeImageFromPixels while searching but it only tak...
itzMeerkat
Votes: 0
Answers: 1
Flutter: Dart FFI can't find symbol
I have included libavcodec.dylib in a Flutter project following the standard Flutter FFI instructions.
Calling DynamicLibrary.open('libavcodec.59.dylib') executes without issue, and returns a non-nega...
SuperDeclarative
Votes: 0
Answers: 1
Dart FFI keep Struct pointer
I am trying to call a C library from dart. The C code as a genertor method such as
a_struc create_struct(void);
and then methods that take in a pointer to struct, such as:
const char *
get_info(con...
Malcolm
Votes: 0
Answers: 1