07 2020 档案
摘要:ClipRRect( // 设置圆角 borderRadius: BorderRadius.circular(50), child: Image.asset("assets/images/touxiang.jpg", fit: BoxFit.cover, width: ScreenUtil().se
阅读全文
摘要:Container( decoration: BoxDecoration( color: Colors.pink, borderRadius: BorderRadius.only(bottomLeft: Radius.circular(10.0), bottomRight: Radius.circu
阅读全文
摘要:经常运行项目的时候出现以下问题 Waiting for another flutter command to release the startup lock 然后我用了网上找的方法:rm ./bin/cache/lockfile 不建议用,因为会恢复之前的配置,又要重新配置,安卓和ios全部报错
阅读全文
摘要: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
阅读全文
摘要:overflow:hidden; text-overflow:ellipsis; display:-webkit-box; /* autoprefixer: off */ -webkit-box-orient:vertical; /* autoprefixer: on */ -webkit-line
阅读全文
摘要:flutter报错Failed assertion: line 24 pos 15: 'color != null && color.alpha == 0xFF': is not true 原因是 theme: ThemeData( primaryColor: Color.fromRGBO(12,
阅读全文
摘要:参考页面:https://www.jianshu.com/p/147f0e20c312 flutter安装库 flutter packages get 一直安装不上,时间又很长 Running "flutter packages get" in project_name... mac、linux上解
阅读全文
摘要:注意说明:mac上一定要安装java环境,再配上以下变量,已配置的略过 JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home PATH="$JAVA_HOME/bin:$PATH" CLASSPATH=$
阅读全文
摘要:Android toolchain - develop for Android devices (Android SDK version 29.0.1) ✗ Android license status unknown. Try re-installing or updating your Andr
阅读全文
摘要:1.打开android studio 2. 3. 4. 5. 6.下一步就行了,后面需要点击accept/接受就开始下载了
阅读全文
摘要:效果 storeStyle: { display: 'flex', alignItems: 'center', }
阅读全文
摘要:原理是:导航栏+胶囊的高度 另一篇简单的https://www.cnblogs.com/lude1994/p/14406630.html 1.在app.js中 globalData: { statusBarHeight:wx.getSystemInfoSync()['statusBarHeight'
阅读全文