DataTable constructor

const DataTable({
  1. Key? key,
  2. required List<DataColumn> columns,
  3. required List<DataRow> rows,
  4. int? sortColumnIndex,
  5. bool sortAscending = true,
  6. bool showCheckboxColumn = false,
})

Creates a DataTable with the given columns and rows.

Implementation

const DataTable({
  super.key,
  required this.columns,
  required this.rows,
  this.sortColumnIndex,
  this.sortAscending = true,
  this.showCheckboxColumn = false,
});