DataColumn2 constructor

const DataColumn2({
  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 DataTable2.

The label argument must not be null.

Implementation

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