isInBoundsRight method

bool isInBoundsRight(
  1. double? x
)

Implementation

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