CarpenterTable<T> constructor
const
CarpenterTable<T> ({
- Key? key,
- required List<
T> items, - required List<
CarpenterTableColumn< columns,T> > - String? initialSortColumnId,
- bool initialSortAscending = true,
- String searchPlaceholder = 'Поиск по таблице',
- String emptyMessage = 'Строки не найдены',
- ValueChanged<
T> ? onRowActivate, - Object rowIdentity(
- T item
- bool showToolbar = true,
- double rowHeight = 42,
- double headerHeight = 40,
- 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,
});