hitTest method

  1. @override
  2. @Deprecated('Use hitTestInView and specify the view to hit test. ' 'This feature was deprecated after v3.11.0-20.0.pre.')
void hitTest(
  1. HitTestResult result,
  2. Offset position
)
override

Deprecated. Use hitTestInView instead.

Implementation

@override // from HitTestable
@Deprecated(
  'Use hitTestInView and specify the view to hit test. '
  'This feature was deprecated after v3.11.0-20.0.pre.',
)
void hitTest(HitTestResult result, Offset position) {
  hitTestInView(result, position, platformDispatcher.implicitView!.viewId);
}