Flutter 路由跳转
xxxixxxx

基本路由跳转 加传值

1
2
3
Navigator.of(context).push(MaterialPageRoute(
builder: (context) => MyRouterPage(title: '首页'),
));

返回

1
Navigator.of(context).pop();
  • Post title:Flutter 路由跳转
  • Post author:xxxixxxx
  • Create time:2020-12-29 10:43:00
  • Post link:https://xxxixxx.github.io/2020/12/29/400-Flutter路由跳转/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments