2

I have an android native application with a flutter module.

I need to open an activity from java and send some arguments to flutter. Here is my code where I call my flutter "activity":

startActivity(
       FlutterActivity
                 .withCachedEngine(flutterNameEngine)
                 .build(this)
);

I can do this:

..build(this).putExtra("arg_1","Hello world")

But I don't know how to receive the data on my flutter / dart code. Any idea?

Pablo Cegarra
  • 20,955
  • 12
  • 92
  • 110

0 Answers0