needsCompositing property Null safety
Whether we or one of our descendants has a compositing layer.
If this node needs compositing as indicated by this bit, then all ancestor nodes will also need compositing.
Only legal to call after PipelineOwner.flushLayout and PipelineOwner.flushCompositingBits have been called.
Implementation
bool get needsCompositing {
assert(!_needsCompositingBitsUpdate); // make sure we don't use this bit when it is dirty
return _needsCompositing;
}