Hi, thanks for the great tutorial. This is what exactly I am looking for. However, after following this tutorial, I still cannot invoke my flutter method from native android. Could you please provide the entire code example? I go to the link you put in this article but unfortunately, the code is not available anymore. And how about the return value of dart method is not void but some types such as String? How to get the value from native and display it from Android application?
How to Call Dart from Android or iOS Native Code
Hi, thanks for the great tutorial. This is what exactly I am looking for. However, after following this tutorial, I still cannot invoke my flutter method from native android. Could you please provide the entire code example? I go to the link you put in this article but unfortunately, the code is not available anymore. And how about the return value of dart method is not void but some types such as String? How to get the value from native and display it from Android application?
Thanks a lot for the post and your help!
Great article and tutorial! However, is it possible to pass a parameter from native to our dart package?
for example i want to pass an integer (a &b) inside the plugin
channel.invokeMethod("sum",a,b null), but i got error..