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