headers property

List headers
final

The header row cells displayed at the top and pinned during vertical scrolling.

Each header can be:

  • A String (converted to plain or bold Text widget depending on context)
  • A Widget for custom header content (e.g., Row with icon and label)
  • Any other type will render as empty space

Length must equal columnFlex.length. Assertion enforces this at construction time.

Implementation

final List<dynamic> headers;