TTableRowCard<T> constructor
const
TTableRowCard<T> ({
- Key? key,
- required T item,
- required List<
TTableHeader< headers,T> > - Map<
int, TableColumnWidth> ? columnWidths, - TTableRowCardTheme theme = const TTableRowCardTheme(),
- double? width,
- bool expandable = false,
- bool isExpanded = false,
- VoidCallback? onExpansionChanged,
- Widget? expandedContent,
- bool selectable = false,
- bool isSelected = false,
- 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,
});