hitTest method

  1. @override
void hitTest (
  1. HitTestResult result,
  2. Offset position
)
override

Determine which HitTestTarget objects are located at a given position.

Implementation

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