header property

Widget? header
final

The table card's optional header.

This is typically a Text widget, but can also be a Row of TextButtons. To show icon buttons at the top end side of the table with a header, set the actions property.

If items in the table are selectable, then, when the selection is not empty, the header is replaced by a count of the selected items. The actions are still visible when items are selected.

Implementation

final Widget? header;