childrenInHitTestOrder property
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
@protected
Iterable<RenderSliver> get childrenInHitTestOrder {
return switch (paintOrder) {
SliverPaintOrder.firstIsTop => _childrenFirstToLast,
SliverPaintOrder.lastIsTop => _childrenLastToFirst,
};
}