sortedLastPaintChild property
RenderBox?
get
sortedLastPaintChild
The last child to paint, considering paint order and reversal.
Returns the appropriate last child based on reversePaint setting. If children are sorted, uses the sorted order; otherwise uses natural order.
Implementation
RenderBox? get sortedLastPaintChild {
return reversePaint
? (_firstSortedChild ?? firstChild)
: (_lastSortedChild ?? lastChild);
}