Relative Content

Tag Archive for flutterdartffi

How to Call a Dart Function from Native Linux Code in Flutter?

I’m working on a Flutter application for Linux and need to call a Dart function from my native C++ code. I’ve successfully implemented method channels for calling native C++ functions from Dart, but I’m having trouble with the reverse — calling Dart functions from C++.