If the home property is specified, the routes table cannot include an entry for “/”, since it would be redundant.

在flutter项目中进行路由跳转时,如果出现这个提示,然后模拟器出现这样:
If the home property is specified, the routes table cannot include an entry for "/", since it would
它的意思就是默认的路由重复了,我们在MyApp的build方法中,将home:…这条注释掉即可
If the home property is specified, the routes table cannot include an entry for "/", since it would

相关文章: