>

if

call

method

contentEquals

"getSharedText"

))

result

success

sharedText

);

sharedText

null

);

void

handleSendText

Intent

intent

sharedText

intent

getStringExtra

Intent

EXTRA_TEXT

);

Finally, request the data from the Flutter side
when the widget is rendered:

What is the equivalent of startActivityForResult()?

The Navigator class handles routing in Flutter and is used to get
a result back from a route that you have pushed on the stack.
This is done by awaiting on the Future returned by push().