如何更改CircularProgressIndicator的颜色 [英] How to change color of CircularProgressIndicator
本文介绍了如何更改CircularProgressIndicator的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改CircularProgressIndicator
的颜色?
颜色的值是Animation<Color>
的一个实例,但是我希望有一种更简单的方法来更改颜色而不会出现动画麻烦.
The value of the color is an instance of Animation<Color>
, but I am hoping there is a simpler way to change the color without trouble of the animation.
推荐答案
这对我有用:
valueColor: new AlwaysStoppedAnimation<Color>(Colors.blue),
这篇关于如何更改CircularProgressIndicator的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文