draw static method

Widget draw({
  1. required Color color,
  2. required double size,
  3. required double strokeWidth,
  4. required double startAngle,
  5. required double endAngle,
})

Implementation

static Widget draw({
  required Color color,
  required double size,
  required double strokeWidth,
  required double startAngle,
  required double endAngle,
}) =>
    SizedBox(
      width: size,
      height: size,
      child: CustomPaint(
        painter: Arc._(
          color,
          strokeWidth,
          startAngle,
          endAngle,
        ),
      ),
    );