![](/img/trans.png)
[英]How to handle back button on appBar of Scaffold layout in flutter module and navigate to previous page on the host app
我有一個問題,我必須創建一個 flutter 模塊並將其直接集成到主機應用程序中。 我想通過單擊它並導航到主機應用程序的上一頁來處理 flutter UI 上的后退按鈕。 我使用 go_router 來處理模塊和主機應用程序上的導航。 我從來沒有整合過它。 我不知道如何處理它在 flutter 模塊 ...