TTableRowCard<T> constructor

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

Implementation

const TTableRowCard({
  super.key,
  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,
});