bool isInBoundsRight(double? x) { if (x == null) return false; x = ((x * 100.0).toInt()) / 100.0; return _contentRect.right >= x - 1; }