rows property

List<List> rows
final

The table data rows, each containing cell data matching header structure.

Format: List<List<dynamic>> where each inner list represents one row. Each cell can be:

  • A String (converted to a Text widget)
  • A Widget for custom cell content
  • Any other type will render as empty space

Empty list (0 rows) is valid and produces a table with header only. Each row's length should match headers.length for visual consistency.

Implementation

final List<List<dynamic>> rows;