Flutter can binding to native code using dart:ffi
. In other words, Dart can call C ++ methods, but can C ++ call Dart methods?
as follows:
Flutter can binding to native code using dart:ffi
. In other words, Dart can call C ++ methods, but can C ++ call Dart methods?
as follows:
From the comments it seems that you want to create an Android specific plugin for Flutter.
This does not require C++ in itself, you usually use Kotlin or Java code a the system level.
The Developing packages & plugins guide may be useful here.