completeResolve method

  1. @override
void completeResolve()
override

Implementation

@override
void completeResolve() {
  super.completeResolve();

  _drawables.clear();

  parent?.all((node) {
    if (node == this) {
      // don't recurse into this renderer
      return false;
    } else if (node is ActorNode &&
        node.layerEffect != null &&
        node.layerEffect != this) {
      _drawables.add(node.layerEffect);
      // don't recurse further into nodes that are drawing to layers
      return false;
    }
    if (node is ActorDrawable) {
      _drawables.add(node);
    }
    return true;
  });

  _drawables.forEach(_computeLayerNode);

  sortDrawables();
  computeMasks();
  findEffects();
}