inBounds2dScreen method

bool inBounds2dScreen(
  1. double x,
  2. double y
)

Implementation

@pragma('vm:prefer-inline')
bool inBounds2dScreen(double x, double y) =>
    x >= 0 && x < width * cellSize && y >= 0 && y < height * cellSize;