Flutter implementation
in Software
I'm developing a flutter application and I want to integrate the BrainFlow library.
Is there a Dart version? Or are there any tutorial for integrating the C version in flutter?
Thanks in advance for any feedback!
Comments
Hi Daniele,
I was not familiar with Flutter until I just looked it up:
https://en.wikipedia.org/wiki/Flutter_(software)
https://en.wikipedia.org/wiki/Dart_(programming_language)
Your best bet is to ask your question on the Brainflow Slack, sign up from the page:
https://brainflow.org/
I see code samples for C++, and Flutter supports that.
https://brainflow.readthedocs.io/en/stable/Examples.html
Example pages showing how:
https://www.google.com/search?q=example+of+Flutter+app+calling+C+++function
The AI overview produced by that search shows a very detailed 3 step example. Employing the Dart FFI Foreign Function Interface.
It's doubtful that Brainflow currently or in the future will directly support Dart language bindings.
Regards,
Thanks for the reply!
Now I want to build the BrainFlow library for macOs and produce a dylib library.
I've tried with the "python3 build.py" command, but it has generated only .a library. Do you know how I can build a dylib library?
Thanks!
Please ask your Brainflow questions on the Slack as previously mentioned.
Regards, William