paintContentVisibility method

void paintContentVisibility(
  1. PaintingContext context,
  2. Offset offset,
  3. PaintingContextCallback callback
)

Implementation

void paintContentVisibility(PaintingContext context, Offset offset,
    PaintingContextCallback callback) {
  ContentVisibility? _contentVisibility = renderStyle.contentVisibility;
  if (_contentVisibility == ContentVisibility.hidden) {
    return;
  }
  callback(context, offset);
}