DataColumn constructor

const DataColumn(
  1. {required Widget label,
  2. String? tooltip,
  3. bool numeric = false,
  4. DataColumnSortCallback? onSort,
  5. MaterialStateProperty<MouseCursor?>? mouseCursor}
)

Creates the configuration for a column of a DataTable.

Implementation

const DataColumn({
  required this.label,
  this.tooltip,
  this.numeric = false,
  this.onSort,
  this.mouseCursor,
});