Whether we or one of our descendants has a compositing layer.
Only legal to call after flushLayout
and flushCompositingBits
have
been called.
Source
bool get needsCompositing { assert(!_needsCompositingBitsUpdate); // make sure we don't use this bit when it is dirty return _needsCompositing; }