Open jol5 opened 4 years ago
应该是flutter的bug吧。 写在initstate里的东西,不会热更新 可以暂时移到build里,或者重新打开页面,或者重启项目通过attach进去
应该是flutter的bug吧。 写在initstate里的东西,不会热更新 可以暂时移到build里,或者重新打开页面,或者重启项目通过attach进去
好像是。目前我只能重启项目区解决了;
应该是flutter的bug吧。 写在initstate里的东西,不会热更新 可以暂时移到build里,或者重新打开页面,或者重启项目通过attach进去
好像是。目前我只能重启项目区解决了;
可以考虑用reassemble,毕竟重启需要重新安装一遍,等待太耗时
vscode 的话, press 'R' to hot restart
Describe the bug A clear and concise description of what the bug is. Show the code you wrote as completely as possible.
To Reproduce Steps to reproduce the behavior. 1.新增一个Action动作; 2.新增该动作的处理函数 3.在View中触发该Action
Expected behavior A clear and concise description of what you expected to happen. Action函数触发了,但是与之对应的Reducr函数,没有被调用到。
解决: 需要重启项目。 Additional context
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [√] Android Studio (version 3.5) [!] IntelliJ IDEA Ultimate Edition (version 2019.2) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. [√] Connected device (1 available)