printDebugSortedChildren method

void printDebugSortedChildren()

Prints debug information about sorted children order.

Outputs the debug keys of children in their sorted paint order. Used for debugging paint order and child sorting issues.

Implementation

void printDebugSortedChildren() {
  // print out like this: [debugKey, debugKey, ...]
  List<String> keys = [];
  RenderBox? child = sortedFirstPaintChild;
  while (child != null) {
    keys.add(child.toString());
    child = sortedNextPaintSibling(child);
  }
}