hitTestResult property

HitTestResult get hitTestResult

The current hit test result, should only be accessed from hitTest.

Implementation

HitTestResult get hitTestResult {
  assert(() {
    if (debugPhase != BoxyDelegatePhase.hitTest) {
      throw FlutterError(
          'The $this boxy delegate attempted to access hitTestResult outside of the hitTest method.');
    }
    return true;
  }());
  return render.hitTestResult!;
}