getCircularProgressIndicator static method

dynamic getCircularProgressIndicator({
  1. double? height,
  2. double? width,
})

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),
      ),
    ),
  );
}