layers property

BoxyLayerContext get layers

The current layer context, useful for pushing Layers to the scene during paintChildren.

Delegates that push layers should override needsCompositing to return true.

Implementation

BoxyLayerContext get layers => _layers ??= BoxyLayerContext._(render);