原因是一个工程中多次使用MaterialApp
https://stackoverflow.com/questions/49132299/could-not-find-a-generator-for-route

2、dart文件中的方法以_开头的方法例如:_getParams不能被外部文件访问,只能被本文件访问;
————————————————
版权声明:本文为CSDN博主「夜幕下的湖水」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/wwl901215/article/details/89364765

相关文章:

  • 2022-12-23
  • 2021-06-01
  • 2021-12-08
  • 2021-11-12
  • 2021-12-28
  • 2021-11-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
相关资源
相似解决方案