弗利特的身材似乎有问题.
I always need to perform RUN > Flutter Full Restart everytime I run the app to an emulator or device.
否则,该应用程序将加载一个脚手架主体,我的代码是在两周前我第一次开始编码时使用的.
Here's the current source on pastebin个
children: <Widget>[
new Opacity(
opacity: loader_visible ? 1.0 : 0.0,
child:
new Container(
padding: const EdgeInsets.all(32.0),
child: new CircularProgressIndicator()
)
),
我猜Flatter已经缓存了旧代码,从来没有费心用新代码替换它,但我不确定它是如何实现的.无论如何,我不认为在我们已经执行了完整重建的情况下加载旧缓存是必要的.