TTable<T> constructor
const
TTable<T> ({
- Key? key,
- required List<
TTableHeader< headers,T> > - required List<
T> items, - TTableDecoration decoration = const TTableDecoration(),
- bool loading = false,
- TTableController<
T> ? controller, - TTableInteractionConfig interactionConfig = const TTableInteractionConfig(),
- bool shrinkWrap = false,
- VoidCallback? onScrollEnd,
- bool expandable = false,
- bool singleExpand = true,
- Widget expandedBuilder()?,
- bool selectable = false,
- bool singleSelect = false,
Implementation
const TTable({
super.key,
required this.headers,
required this.items,
this.decoration = const TTableDecoration(),
this.loading = false,
this.controller,
this.interactionConfig = const TTableInteractionConfig(),
this.shrinkWrap = false,
this.onScrollEnd,
// Expandable
this.expandable = false,
this.singleExpand = true,
this.expandedBuilder,
// Selectable
this.selectable = false,
this.singleSelect = false,
});