The LayoutBuilder Widget
Render a subtree of Flutter widgets with a layout that depends on the parent widget with the LayoutBuilder widget.
We'll cover the following
What if we want to change the layout of a Flutter widget depending on the size of its parent? We should use LayoutBuilder
. Let’s look at an example:
Get hands-on with 1400+ tech skills courses.