TableConfig constructor

const TableConfig({
  1. required String visualType,
  2. required String visualName,
  3. required String title,
  4. required String query,
  5. List<ColumnConfig> rowIndex = const [],
  6. List<ColumnConfig> valuesConfig = const [],
  7. required List<ColumnConfig> columns,
  8. int fixedColumns = 0,
  9. bool totals = false,
  10. bool topN = false,
  11. String? sortColumn,
  12. String? sortOrder,
  13. bool dataTreeStartExpanded = false,
  14. bool treeEnabled = false,
  15. bool headerFilter = false,
  16. bool selectableRows = false,
  17. bool showSelectionChips = true,
})

Implementation

const TableConfig({
  required this.visualType,
  required this.visualName,
  required this.title,
  required this.query,
  this.rowIndex = const [],
  this.valuesConfig = const [],
  required this.columns,
  this.fixedColumns = 0,
  this.totals = false,
  this.topN = false,
  this.sortColumn,
  this.sortOrder,
  this.dataTreeStartExpanded = false,
  this.treeEnabled = false,
  this.headerFilter = false,
  this.selectableRows = false,
  this.showSelectionChips = true,
});