在页面里面是跳转,可以使用Navicator方法,比如从主页跳转到搜索页面:
Navigator.of(context).push(MaterialPageRoute(builder: (context) => Search()));
另外,还可以携带参数传递:
Navigator.of(context).push(MaterialPageRoute(builder: (context) => FormPage(title: "hahah")));
对应接受参数:
String title;
  FormPage({
    Key? key,
    this.title = "表单",
  }) : super(key: key);
需要有构造函数