getWheelPath method
Implementation
Path getWheelPath(double wheelSize, double fromRadius, double toRadius) {
return Path()
..moveTo(wheelSize, wheelSize)
..arcTo(
Rect.fromCircle(
radius: wheelSize,
center: Offset(wheelSize, wheelSize),
),
fromRadius,
toRadius,
false,
)
..close();
}