childrenInPaintOrder property

Iterable<RenderSliver> childrenInPaintOrder
override

Provides an iterable that walks the children of the viewport, in the order that they should be painted.

This should be the reverse order of childrenInHitTestOrder.

Implementation

@override
Iterable<RenderSliver> get childrenInPaintOrder sync* {
  RenderSliver child = firstChild;
  while (child != null) {
    yield child;
    child = childAfter(child);
  }
}