drawing method
正在绘制
Implementation
@override
void drawing(Offset nowPoint) {
endPoint = nowPoint;
center = Offset(
(startPoint.dx + endPoint.dx) / 2, (startPoint.dy + endPoint.dy) / 2);
radius = (endPoint - (startFromCenter ? startPoint : center)).distance;
}