getCircularProgressIndicator static method
Implementation
static getCircularProgressIndicator({double? height, double? width}) {
height ??= 40.0;
width ??= 40.0;
return Container(
alignment: Alignment.center,
child: SizedBox(
height: height,
width: width,
child: CircularProgressIndicator(
valueColor: AlwaysStoppedAnimation<Color>(progressBarColor),
),
),
);
}