addHit method

  1. @override
void addHit()
override

Adds the boxy to hitTestResult, this should typically be called from hitTest when a hit succeeds.

Implementation

@override
void addHit() {
  hitTestResult.add(BoxHitTestEntry(render, render.hitPosition!));
}