child property

Widget child

The widget below this widget in the tree.

The padding on the MediaQuery for the child will be suitably adjusted to zero out any sides that were avoided by this widget.

This widget can only have one child. To lay out multiple children, let this widget's child be a widget such as Row, Column, or Stack, which have a children property, and then provide the children to that widget.


final Widget child;