getCurrentPosition method
Implementation
Offset getCurrentPosition() {
return Offset(
startX + cos(angle) * currentDistance,
startY + sin(angle) * currentDistance,
);
}
Offset getCurrentPosition() {
return Offset(
startX + cos(angle) * currentDistance,
startY + sin(angle) * currentDistance,
);
}