needsStacking property

bool get needsStacking
inherited

Implementation

bool get needsStacking {
  if (establishesStackingContext) return true;
  Node? child = target.firstChild;
  while (child != null) {
    if (child is Element && child.renderStyle.needsStacking) return true;
    child = child.nextSibling;
  }
  return false;
}