08 2020 档案
摘要:InkWell( onTap: () { //在onTap下写底部弹框 showModalBottomSheet( context: context, isDismissible: true, isScrollControlled: false, shape: RoundedRectangleBor
阅读全文
摘要:参考:https://www.cnblogs.com/mingfeng002/p/11592228.html 解决方法: class HomePage extends StatelessWidget { @override Widget build(BuildContext context) { r
阅读全文
摘要:参考:https://www.jianshu.com/p/8ac60a7de077 解决方案: 只需要将ListView作为MediaQuery.removePadding的子组件即可 Widget _listView(BuildContext context){ return MediaQuery
阅读全文
摘要:解决方案:下载国内镜像的flutter文件 git clone https://gitee.com/mirrors/Flutter.git 或者打开https://mirrors.tuna.tsinghua.edu.cn/flutter/flutter_infra/releases/stable/m
阅读全文
摘要:报错 I/flutter (22693): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ I/flutter (22693): The foll
阅读全文
摘要:在mac上出现Waiting for another flutter command to release the startup lock... 解决方法:按control + c 强制关闭终端中正在执行的指令就可以了,
阅读全文
摘要:mac版本10.15.6 参考:https://juejin.im/post/6844903751606599688 1.创建 touch .bash_profile 2.配置安卓和java、flutter export ANDROID_HOME=/Users/zhouenxiao/Library/
阅读全文
摘要:mac上使用git报错 error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly fatal: early EO
阅读全文
摘要:参考:https://www.jianshu.com/p/e3b2fa3bc08e 我的版本 multi_image_picker: ^4.6.1解决方法: 1.修改 ./android/app/build.gradle 找到 defaultConfig { minSdkVersion 16 改为1
阅读全文
摘要:参考https://www.cnblogs.com/sangwl/p/10400598.html 1.创建keystore: ./key.jks 是进入项目目录后的位置,建议放在安卓app文件下 keytool -genkey -v -keystore ./key.jks -keyalg RSA -
阅读全文
摘要:报错 I/flutter ( 5510): Vertical viewport was given unbounded height. I/flutter ( 5510): Viewports expand in the scrolling direction to fill their conta
阅读全文