childrenInHitTestOrder property

Iterable<RenderSliver> childrenInHitTestOrder
override

Provides an iterable that walks the children of the viewport, in the order that hit-testing should use.

This should be the reverse order of childrenInPaintOrder.

Implementation

@override
Iterable<RenderSliver> get childrenInHitTestOrder sync* {
  RenderSliver child = lastChild;
  while (child != null) {
    yield child;
    child = childBefore(child);
  }
}