paintOrder property
The order in which to paint the slivers; equivalently, the order in which to arrange them in the z-direction.
Whichever order the slivers are painted in, they will be hit-tested in the opposite order.
To think of this as an ordering in the z-direction: whichever sliver is painted last (and hit-tested first) is on top, because it will paint over other slivers if there is overlap. Similarly, whichever sliver is painted first (and hit-tested last) is on the bottom.
The default is SliverPaintOrder.firstIsTop.
Implementation
SliverPaintOrder get paintOrder => _paintOrder;
Implementation
set paintOrder(SliverPaintOrder value) {
if (value != _paintOrder) {
_paintOrder = value;
markNeedsPaint();
markNeedsSemanticsUpdate();
}
}