midPoint property
The midpoint of the arc
Implementation
Point get midPoint {
final midAngle = startAngle + sweepAngle / 2;
return Point(
center.x + radius * cos(midAngle),
center.y + radius * sin(midAngle),
);
}
The midpoint of the arc
Point get midPoint {
final midAngle = startAngle + sweepAngle / 2;
return Point(
center.x + radius * cos(midAngle),
center.y + radius * sin(midAngle),
);
}