EditableTable constructor

const EditableTable({
  1. Key? key,
  2. List<EditableColumn>? columns,
  3. List<EditableRow>? initialRows,
  4. EditableTableController? controller,
  5. bool showToolbar = true,
  6. bool showRowNumbers = true,
  7. bool showActions = true,
  8. bool showTotals = false,
  9. String totalsLabel = 'Total',
  10. String? unitLabel,
  11. bool confirmDelete = true,
  12. bool growOnTab = true,
  13. bool showShortcutsHelp = true,
  14. ValueChanged<List<EditableRow>>? onChanged,
})

Implementation

const EditableTable({
  super.key,
  this.columns,
  this.initialRows,
  this.controller,
  this.showToolbar = true,
  this.showRowNumbers = true,
  this.showActions = true,
  this.showTotals = false,
  this.totalsLabel = 'Total',
  this.unitLabel,
  this.confirmDelete = true,
  this.growOnTab = true,
  this.showShortcutsHelp = true,
  this.onChanged,
}) : assert(columns != null || controller != null, 'Provide columns or a controller.');