hitTestInView method

  1. @override
void hitTestInView(
  1. HitTestResult result,
  2. Offset position,
  3. int viewId
)
override

Determine which HitTestTarget objects are located at a given position in the specified view.

Implementation

@override // from HitTestable
void hitTestInView(HitTestResult result, Offset position, int viewId) {
  result.add(HitTestEntry(this));
}