我尝试使用的代码段有问题,并且由于我是飞镖新手,所以我不太了解错误消息。有人可以向我解释为什么错误消息说
构造函数返回类型“ dynamic”,而不是预期类型“ widget”。
以及如何解决?
dart flutter
dart ×1
flutter ×1