比如要導航到一個新的頁面,我們可以建立一個[MaterialPageRoute]的例項,然後呼叫Navigator.of(context).push()方法就將新頁面新增到堆疊的頂部。
確定! 回上一頁