0

How to build the status border like what's app with Oval shape dynamically in flutter.

Below is my code.

Help me to generate the dynamic border with Oval shape.

path.moveTo(size.width * 0.78787878, size.height * 0.2);
path.addArc(
    Rect.fromLTWH(rrect.left, rrect.top, rrect.width, rrect.height),
    // Rect.fromPoints(Offset(76.06, 99.9999), Offset(0, -10)),

    doubleToAngle((start + (((angle) + spacing) * i))),
    doubleToAngle(angle - 5));
canvas.drawPath(path, alreadyWatch - 1 >= i ? seenPaint : unSeenPaint);

0 Answers0