checkHit method

int checkHit(
  1. int x,
  2. int y
)

Queries the low-level native/debug hit grid.

Built-in widgets use render-tree hit testing for pointer routing.

Implementation

int checkHit(int x, int y) {
  if (_disposed) throw StateError('Renderer is disposed');
  return _bindings.checkHit(_ptr, x, y);
}