Material DataColumn Widget Tutorial

Column configuration for a DataTable.

DataColumn Constructors

  • DataColumn({required Widget label, String? tooltip, bool numeric, DataColumnSortCallback? onSort}): Creates the configuration for a column of a DataTable.

DataColumn Properties

  • label: The column heading.

  • numeric: Whether this column represents numeric data or not.

  • onSort: Called when the user asks to sort the table using this column.