hitTest method
Performs hit-testing at (localX, localY) in this object's coordinate
space. Adds matching entries to result, deepest first.
Returns true if this object or a descendant was hit.
Implementation
@override
bool hitTest(
HitTestResult result, {
required double localX,
required double localY,
}) {
if (ignoring) return false;
return super.hitTest(result, localX: localX, localY: localY);
}