为什么80%的码农都做不了架构师?>>>
KeyboardStatus.on((height){
if(mounted){ //mounted 挂在后在setState
setState(() {
keyBordHeight=height;
});
}
});
转载于:https://my.oschina.net/woddp/blog/3031796
最后
以上就是酷炫镜子最近收集整理的关于Flutter报错:setState() called after dispose()的全部内容,更多相关Flutter报错:setState()内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复