EditableTable constructor
const
EditableTable({
- Key? key,
- List<
EditableColumn> ? columns, - List<
EditableRow> ? initialRows, - EditableTableController? controller,
- bool showToolbar = true,
- bool showRowNumbers = true,
- bool showActions = true,
- bool showTotals = false,
- String totalsLabel = 'Total',
- String? unitLabel,
- bool confirmDelete = true,
- bool growOnTab = true,
- bool showShortcutsHelp = true,
- ValueChanged<
List< ? onChanged,EditableRow> >
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.');