child property

Widget? child

A widget to be placed inside the drawer header, inset by the padding.

This widget will be sized to the size of the header. To position the child precisely, consider using an Align or Center 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;