DataColumn constructor

const DataColumn({
  1. required String label,
  2. bool numeric = false,
  3. void onSort(
    1. int columnIndex,
    2. bool ascending
    )?,
})

Creates a DataColumn with the given label.

Implementation

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