How to set size to CircularProgressIndicator?

后端 未结 7 1465
太阳男子
太阳男子 2020-12-08 13:01

I\'m trying to make a loading screen for my application, I\'m using CircularProgressIndicator widget, but I want to know if there\'s a way to make it bigger in

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 13:32

    This is the solution, which worked for me

    Center(
            heightFactor: 1,
            widthFactor: 1,
            child: SizedBox(
              height: 16,
              width: 16,
              child: CircularProgressIndicator(
                strokeWidth: 1.5,
              ),
            ),
          )
    
    

提交回复
热议问题