indicator method

Widget indicator({
  1. double? value,
  2. Color? color,
  3. double? strokeWidth,
  4. Size? size,
})

Implementation

Widget indicator(
        {double? value, Color? color, double? strokeWidth, Size? size}) =>
    CircularProgressIndicator(
            strokeWidth: strokeWidth ?? 1,
            color: color ?? foregroundColor,
            value: value)
        .size(width: size?.width ?? 24, height: size?.height ?? 24);