<分区>
我想更改 CircularProgressIndicator
颜色但无法更改这里是代码
仍然显示蓝色。
CircularProgressIndicator(backgroundColor: Colors.grey[100],strokeWidth: 2.0,)
我试过 theme
但它也没有用。
child: Theme(
data: Theme.of(context).copyWith(
backgroundColor: Colors.grey[100]
),
child: CircularProgressIndicator(strokeWidth: 2.0,),
),