Pregunta de entrevista de CoinDCX

How to do equivalent of android startActivityForResult in flutter.

Respuesta de la entrevista

Anónimo

21 jun 2024

await Navigator.pushNamed(context, secondWidgetRoute); Here in the above code, you can see that we have pushed the new widget with an await prefix. Using this our function will wait till it gets some result from the next widget.

1