在Flutter中,带数据的页面跳转使用Navigator,不带参数的页面跳转使用Router。 Router 将路由与页面对应起来 @override Widget build(BuildContext context) { return new MaterialApp( theme: new ThemeData