needsCompositing property

bool get needsCompositing

Override this method to return true if the paint method will push one or more layers to paintingContext.

It can be significantly more efficient to keep this false, otherwise if a delegate needs to interact with layers, override this getter to return true.

Implementation

bool get needsCompositing => false;