@override Rect getBounds() { if (startPoint == null) return Rect.zero; return Rect.fromLTWH( 0, startPoint!.dy - strokeWidth / 2, double.infinity, strokeWidth); }