DataColumn constructor

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

Creates the configuration for a column of a DataTable.

Implementation

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