find static method
Finds the nearest RenderLayoutBox ancestor in the widget tree.
Searches the render tree starting from the context's render object.
Returns null if no RenderLayoutBox is found.
Implementation
static RenderLayoutBox? find(BuildContext context) {
RenderObject? renderObject = context.findRenderObject();
return _findInDescendants(renderObject);
}