DataColumn constructor

const DataColumn({@required Widget label, String tooltip, bool numeric: false, DataColumnSortCallback onSort })

Creates the configuration for a column of a DataTable.

The label argument must not be null.

Implementation

const DataColumn({
  @required this.label,
  this.tooltip,
  this.numeric = false,
  this.onSort,
}) : assert(label != null);