CarpenterTable<T> constructor

const CarpenterTable<T>({
  1. Key? key,
  2. required List<T> items,
  3. required List<CarpenterTableColumn<T>> columns,
  4. String? initialSortColumnId,
  5. bool initialSortAscending = true,
  6. String searchPlaceholder = 'Поиск по таблице',
  7. String emptyMessage = 'Строки не найдены',
  8. ValueChanged<T>? onRowActivate,
  9. Object rowIdentity(
    1. T item
    )?,
  10. bool showToolbar = true,
  11. double rowHeight = 42,
  12. double headerHeight = 40,
  13. double? maxBodyHeight,
})

Implementation

const CarpenterTable({
  super.key,
  required this.items,
  required this.columns,
  this.initialSortColumnId,
  this.initialSortAscending = true,
  this.searchPlaceholder = 'Поиск по таблице',
  this.emptyMessage = 'Строки не найдены',
  this.onRowActivate,
  this.rowIdentity,
  this.showToolbar = true,
  this.rowHeight = 42,
  this.headerHeight = 40,
  this.maxBodyHeight,
});