Follow

今天在看 如何傳值給命名的頁面,發現還滿容易的。
flutter.dev/docs/cookbook/navi

感想就是…不需要下轉場動畫的頁面可以直接設定在 routes
需要轉場動畫的頁面,可以在 onGenerateRoute 讀取傳遞的參數,並且設定頁面所需的轉場動畫⭐

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!