the6nnoo
the6nnoo
我也是这样,setState 是没法更新 card的具体表现。 甚至我都调用了 _controller.reset(); 出现很多奇怪的问题,比如card的child显示莫名其妙,明明index不是这个,但是乱显示。
我现在的结局方法是: setState(() { init(); }); var duration = new Duration(milliseconds: 30); new Future.delayed(duration, () { _controller.reset(); }); }, 延迟了一点时间再去执行_controller.reset(); 这样就可以真的刷新child内容了
> > 我现在的结局方法是: > > setState(() { > > init(); > > }); > > var duration = new Duration(milliseconds: 30); > > new Future.delayed(duration, () { > > _controller.reset();...
> > > > 我现在的结局方法是: > > > > setState(() { > > > > init(); > > > > }); > > > > var duration = new Duration(milliseconds:...
强东是真的嚣张,要被封杀了
注意一下 是不是LifecycleOwner 的生命周期不对劲
nobody know how to fix it?
go bro....fuck all haters getx is the best in flutter world! support getx forever!