随笔分类 -  Flutter

flutter学习笔记
摘要:Flutter FractionallySizedBox 阅读全文
posted @ 2025-01-16 17:37 星小梦 阅读(131) 评论(0) 推荐(0)
摘要:flutter下载依赖解析失败Could not find a file named "pubspec.yaml" 阅读全文
posted @ 2025-01-16 10:46 星小梦 阅读(315) 评论(0) 推荐(0)
摘要:══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════ The following assertion was thrown during a sched 阅读全文
posted @ 2025-01-08 15:52 星小梦 阅读(179) 评论(0) 推荐(0)
摘要:Waiting for another flutter command to release the startup lock... 意思就是等待释放锁,通过Waiting for another flutter command to release the startup lock这些方法依旧不行 阅读全文
posted @ 2024-12-27 22:34 星小梦 阅读(559) 评论(0) 推荐(0)
摘要:Flutter如果你要实现 手动点击输入框进行弹出虚拟键盘,但是通过FocusNode使输入框获取到焦点不弹出虚拟键盘的业务方式。 大致的核心实现代理是: TextField( ... onTap: () { setState((){ _openIndex = i; }); // TODO 1 }, 阅读全文
posted @ 2024-12-27 13:12 星小梦 阅读(531) 评论(0) 推荐(1)
摘要:go_router的push和go导航行为疑惑 阅读全文
posted @ 2024-12-23 15:34 星小梦 阅读(214) 评论(0) 推荐(0)
摘要:如果你使用.push()方法进行导航后,浏览器的地址栏的地址并没有更新,那是因为go_router经过了一次变更修改行为导致的。 配置下边的GoRouter.optionURLReflectsImperativeAPIs = true;代码就行了。 也可以去optionURLReflectsImpe 阅读全文
posted @ 2024-10-31 18:39 星小梦 阅读(208) 评论(0) 推荐(0)