hitTestAt method

List<HitTestElementEntry> hitTestAt(
  1. double x,
  2. double y
)

Performs a hit-test at the given terminal coordinates against the render tree. Returns the list of hit elements, deepest first.

This is primarily used by WidgetTester for testing.

Implementation

List<HitTestElementEntry> hitTestAt(double x, double y) {
  return _tree.hitTestAt(x, y);
}