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