hitTestIntrinsicChild method
Implementation
bool hitTestIntrinsicChild(
BoxHitTestResult result, RenderBox? child, Offset position) {
final bool isHit = result.addWithPaintTransform(
transform: getEffectiveTransform(),
position: position,
hitTest: (BoxHitTestResult result, Offset position) {
return child?.hitTest(result, position: position) ?? false;
},
);
if (isHit) return true;
return false;
}