flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

FlutterA页面present进入FlutterB页面,FlutterB页面中的Switch控件无法更新State。

Open nahajub opened this issue 6 years ago • 5 comments

环境:iOS; Flutter 1.9.1+hotfix.6 ; flutter_boost 0.1.61 描述:FlutterA页面present进入FlutterB页面,FlutterB页面中的Switch控件无法更新State,尝试了其它几种StatefulWidget控件都不行。但是用push是好的。 demo地址

nahajub avatar Dec 12 '19 09:12 nahajub

因为 psuh 跟 present的 页面的 生命周期事件 有点不一样。

push 是正常的

present的时候 最后的事件是 flutterA的 viewdiddisappear ,导致引擎是 paused 状态 所以卡了

blackox626 avatar Dec 13 '19 11:12 blackox626

@kangwang1988 @dzchen

blackox626 avatar Dec 13 '19 11:12 blackox626

same

TopSkySir avatar Feb 07 '20 08:02 TopSkySir

这个问题一周多前在master上应该已经解了。是否还存在?

xujim avatar Feb 26 '20 07:02 xujim

长时间无反馈,暂关闭

xujim avatar Mar 03 '20 07:03 xujim