How to pass data back and forth between flutter activity and Android activities ?
shakil Karim

The main (and the most straightforward ) way is to use BasicMessageChannel to send any data.

Also, there are ways like window.defaultRouteName but there are a bit more in depth.

In Parth Three, I will be explaining them.