我想使用CupertinoPageRoute而不是Navigator.pushNamed在MaterialApp中使用routes数组。Navigator.pushNamed(context,p01.routeName);工作正常。但是我想完成两个项目。我希望导航是Android中的库比蒂诺风格。从右到左,而不是从下到上。导航会很深,我想包括一个返回按钮……像这样。Navigator.popUntil(上下文,ModalRoute.withName('/'));我可以在哪里返回特定位置在导航堆栈中。我如何使用路由,namedRoutes和CupertinoPageRoute(build
我想使用CupertinoPageRoute而不是Navigator.pushNamed在MaterialApp中使用routes数组。Navigator.pushNamed(context,p01.routeName);工作正常。但是我想完成两个项目。我希望导航是Android中的库比蒂诺风格。从右到左,而不是从下到上。导航会很深,我想包括一个返回按钮……像这样。Navigator.popUntil(上下文,ModalRoute.withName('/'));我可以在哪里返回特定位置在导航堆栈中。我如何使用路由,namedRoutes和CupertinoPageRoute(build