Question d’entretien chez CoinDCX

How to do equivalent of android startActivityForResult in flutter.

Réponse à la question d'entretien

Utilisateur anonyme

21 juin 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