DataColumn constructor

const DataColumn({
  1. required Widget label,
  2. String? tooltip,
  3. bool numeric = false,
  4. DataColumnSortCallback? onSort,
  5. ColumnSize size = ColumnSize.M,
  6. double? fixedWidth,
})

Creates the configuration for a column of a DataTable.

The label argument must not be null.

The size parameter specifies the relative width of the column. The fixedWidth parameter allows setting an absolute width for the column.

Implementation

const DataColumn(
    {required super.label,
    super.tooltip,
    super.numeric = false,
    super.onSort,
    this.size = ColumnSize.M,
    this.fixedWidth});