如何更改 CircularProgressIndicator
的颜色?
颜色的值是 Animation<Color>
的一个实例,但我希望有一种更简单的方法来更改颜色而不会出现动画问题。
最佳答案
这对我有用:
CircularProgressIndicator(valueColor: AlwaysStoppedAnimation<Color>(Colors.white))
https://stackoverflow.com/questions/49952048/