hitTest method

  1. @override
void hitTest (HitTestResult result, 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));
}