DataColumn constructor
const
DataColumn({
- required Widget label,
- String? tooltip,
- bool numeric = false,
- DataColumnSortCallback? onSort,
- ColumnSize size = ColumnSize.M,
- 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});