TTableRowCard<T, K> constructor

const TTableRowCard<T, K>({
  1. Key? key,
  2. required int index,
  3. required TListItem<T, K> item,
  4. required List<TTableHeader<T, K>> headers,
  5. Map<int, TableColumnWidth>? columnWidths,
  6. TTableRowCardTheme theme = const TTableRowCardTheme(),
  7. double? width,
  8. bool expandable = false,
  9. bool isExpanded = false,
  10. VoidCallback? onExpansionChanged,
  11. Widget? expandedContent,
  12. bool selectable = false,
  13. bool isSelected = false,
  14. VoidCallback? onSelectionChanged,
})

Implementation

const TTableRowCard({
  super.key,
  required this.index,
  required this.item,
  required this.headers,
  this.columnWidths,
  this.theme = const TTableRowCardTheme(),
  this.width,

  //expandable
  this.expandable = false,
  this.isExpanded = false,
  this.onExpansionChanged,
  this.expandedContent,

  //selectable
  this.selectable = false,
  this.isSelected = false,
  this.onSelectionChanged,
});