markAdjacentRenderParagraphNeedsLayout method
void
markAdjacentRenderParagraphNeedsLayout()
Implementation
void markAdjacentRenderParagraphNeedsLayout() {
if (parent != null && parent is RenderFlowLayout && parentData is RenderLayoutParentData) {
if ((parentData as RenderLayoutParentData).nextSibling is RenderTextBox) {
((parentData as RenderLayoutParentData).nextSibling as RenderTextBox).markRenderParagraphNeedsLayout();
}
if ((parentData as RenderLayoutParentData).previousSibling is RenderTextBox) {
((parentData as RenderLayoutParentData).previousSibling as RenderTextBox).markRenderParagraphNeedsLayout();
}
}
}