isChildBlockLevel method
Implementation
bool isChildBlockLevel(RenderBox? child) {
if (child is RenderBoxModel || child is RenderPositionPlaceholder) {
RenderStyle? childRenderStyle = getChildRenderStyle(child!);
if (childRenderStyle != null) {
CSSDisplay? childDisplay = childRenderStyle.display;
return childDisplay == CSSDisplay.block || childDisplay == CSSDisplay.flex;
}
}
return false;
}