child property Null safety

Widget child
final

The data for the row.

Typically a Text widget or a DropdownButton widget.

If the cell has no data, then a Text widget with placeholder text should be provided instead, and placeholder should be set to true.

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.

Implementation

final Widget child;