flutter
文章平均质量分 57
TangAcrab
这个作者很懒,什么都没留下…
展开
-
Failed to download https://chrome-infra-packages.appspot.com/dl/flutter/web/canvaskit_bundle 超时 解决办法
flutter项目下执行 flutter run 提示信号灯超时时间已到解决办法原创 2022-06-06 10:53:09 · 3163 阅读 · 0 评论 -
2022 windows下简易flutter开发环境搭建
1. flutter SDK安装git clone 官网稳定版本分支。 命令如下。git clone [https://github.com/flutter/flutter.git](https://github.com/flutter/flutter.git) -b stableclone flutter git仓库的好处是,如果想要体验flutter的最新实验性功能,直接切换分支同步远端代码即可。![image.png](https://img-blog.csdnimg.cn/img_conve原创 2022-04-02 15:54:00 · 8374 阅读 · 2 评论 -
flutter无法通过Visual Studio 2022 运行到桌面端解决办法 Visual Studio 17 2022 Does not match the generator used pre
当前文章写作日期 2021 12 22我们已经安装好 Visual Studio 2022 Community, 在flutter项目下 运行flutter run -d windows报错如下:Launching lib\main.dart on Windows in debug mode... CMake Error: Error: generator : Visual Studio 17 2022 Does not match the generator used previously: Visu原创 2021-12-22 12:27:35 · 5916 阅读 · 3 评论 -
运行flutter doctor 报错:Error: The Flutter directory is not a clone of the GitHub project.解决办法
一:运行flutter doctor报错如下 The flutter tool requires Git in order to operate properly; to install Flutter, see the instructions at: https://flutter.dev/get-started 解决办法:进入到flutter SDK 安装目录 运行git init使其成为一个git仓库。再运行flutter doctor即可..原创 2020-08-09 17:53:11 · 1054 阅读 · 0 评论 -
flutter学习记录
dart开发的app中必有一个 void main(){}函数void main(){}dart中未赋值的变量,值为 null,js中只声明未赋值的变量默认为值为 undefined。在dart中未指定变量的类型时,dart会根据等号右边的值去推测变量的值类型。3.在dart中每一个语句结尾都要加上;分号,否则会报错。4.在dart中变量的类型必须是能够解析到的。5.在js中...原创 2019-06-10 11:42:08 · 122 阅读 · 0 评论