简体   繁体   English

方法“容器”未在“MyApp”中定义? 在 Flutter

[英]method 'Container' is not defined in 'MyApp' ? In Flutter

https://i.stack.imgur.com/qvwcO.png https://i.stack.imgur.com/qvwcO.png

U can have this image to review Error in my Code.您可以使用此图像来查看我的代码中的错误。

It was easy after roaming here and there on Google and all, finally i deleted my old flutter Software Development Kit Folder and replaced with new one.在 Google 上到处漫游之后很容易,最后我删除了旧的 flutter 软件开发工具包文件夹并替换为新的。 And that's it DONE.Now it's solved.就这样完成了。现在它已经解决了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter 中的 MyApp 类错误未定义方法“setState” - The method 'setState' isn't defined for the class MyApp error in Flutter 试图运行 flutter 程序并不断收到此错误“方法 'HomeScreen' 没有为类型 'MyApp' 定义 - trying to run flutter program and keep getting this error "the method 'HomeScreen' isn't defined for the type 'MyApp' Flutter - 没有为 class 'MyApp' 定义选取框 - Flutter - Marquee isn't defined for class 'MyApp' 没有为“MyApp”类型定义此方法“Scaffold” - This method 'Scaffold' isn't defined for the type 'MyApp' 容器颤振中的调用方法 - call method in container flutter 在 Flutter 中,VS Code 编辑器抛出错误 - 未定义函数“myApp” - In Flutter the VS Code editor throws an error - The function 'myApp' isn't defined Flutter:如何根据定义的容器显示数据 - Flutter: How to show data based on defined Container “没有为“MyApp”类型定义方法“SplashScreen”。”。 我尝试了很多东西,但一无所获。 有什么解决办法吗? - "The method 'SplashScreen' isn't defined for the type 'MyApp'.". I have tried a lot of things and nothing. Any solution? Flutter - 可以将 State 放在 MyApp 中吗? - Flutter - Is It OK to Put State in MyApp? 错误:没有为 class 'MyApp' 定义 getter 'WordPair'。 在阅读 flutter 文档中的“编写您的第一个应用程序”指南时 - Error: The getter 'WordPair' isn't defined for the class 'MyApp'. When going through the “Write your first app” guide in the flutter docs
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM