contentVisibilityHitTest method

bool contentVisibilityHitTest(
  1. BoxHitTestResult result, {
  2. Offset? position,
})

Implementation

bool contentVisibilityHitTest(BoxHitTestResult result, {Offset? position}) {
  ContentVisibility? _contentVisibility = renderStyle.contentVisibility;
  return _contentVisibility != ContentVisibility.hidden;
}