07 2020 档案

摘要:ClipRRect( // 设置圆角 borderRadius: BorderRadius.circular(50), child: Image.asset("assets/images/touxiang.jpg", fit: BoxFit.cover, width: ScreenUtil().se 阅读全文
posted @ 2020-07-31 17:30 lude1994 阅读(142) 评论(0) 推荐(0) 编辑
摘要:Container( decoration: BoxDecoration( color: Colors.pink, borderRadius: BorderRadius.only(bottomLeft: Radius.circular(10.0), bottomRight: Radius.circu 阅读全文
posted @ 2020-07-31 17:05 lude1994 阅读(2009) 评论(0) 推荐(0) 编辑
摘要:经常运行项目的时候出现以下问题 Waiting for another flutter command to release the startup lock 然后我用了网上找的方法:rm ./bin/cache/lockfile 不建议用,因为会恢复之前的配置,又要重新配置,安卓和ios全部报错 阅读全文
posted @ 2020-07-28 14:43 lude1994 阅读(161) 评论(0) 推荐(0) 编辑
摘要:Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommended that you stash them vi 阅读全文
posted @ 2020-07-28 14:34 lude1994 阅读(3304) 评论(0) 推荐(0) 编辑
摘要:overflow:hidden; text-overflow:ellipsis; display:-webkit-box; /* autoprefixer: off */ -webkit-box-orient:vertical; /* autoprefixer: on */ -webkit-line 阅读全文
posted @ 2020-07-27 09:38 lude1994 阅读(120) 评论(0) 推荐(0) 编辑
摘要:flutter报错Failed assertion: line 24 pos 15: 'color != null && color.alpha == 0xFF': is not true 原因是 theme: ThemeData( primaryColor: Color.fromRGBO(12, 阅读全文
posted @ 2020-07-24 10:01 lude1994 阅读(1423) 评论(0) 推荐(0) 编辑
摘要:参考页面:https://www.jianshu.com/p/147f0e20c312 flutter安装库 flutter packages get 一直安装不上,时间又很长 Running "flutter packages get" in project_name... mac、linux上解 阅读全文
posted @ 2020-07-23 15:21 lude1994 阅读(475) 评论(0) 推荐(0) 编辑
摘要:注意说明:mac上一定要安装java环境,再配上以下变量,已配置的略过 JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home PATH="$JAVA_HOME/bin:$PATH" CLASSPATH=$ 阅读全文
posted @ 2020-07-20 14:53 lude1994 阅读(512) 评论(0) 推荐(0) 编辑
摘要:Android toolchain - develop for Android devices (Android SDK version 29.0.1) ✗ Android license status unknown. Try re-installing or updating your Andr 阅读全文
posted @ 2020-07-20 13:54 lude1994 阅读(4440) 评论(1) 推荐(0) 编辑
摘要:1.打开android studio 2. 3. 4. 5. 6.下一步就行了,后面需要点击accept/接受就开始下载了 阅读全文
posted @ 2020-07-18 19:57 lude1994 阅读(568) 评论(0) 推荐(0) 编辑
摘要:效果 storeStyle: { display: 'flex', alignItems: 'center', } 阅读全文
posted @ 2020-07-13 20:42 lude1994 阅读(468) 评论(0) 推荐(0) 编辑
摘要:原理是:导航栏+胶囊的高度 另一篇简单的https://www.cnblogs.com/lude1994/p/14406630.html 1.在app.js中 globalData: { statusBarHeight:wx.getSystemInfoSync()['statusBarHeight' 阅读全文
posted @ 2020-07-06 16:49 lude1994 阅读(2573) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示