StickyTable<T> constructor
const
StickyTable<T> ({
- Key? key,
- required List<
T> data, - required List<
StickyTableColumn< columns,T> > - double titleHeight = 58,
- double cellHeight = 58,
- StickyTableCellFunction<
T, Decoration> ? cellDecoration, - TableColumnWidth defaultColumnWidth = const FixedColumnWidth(120),
- EdgeInsets? cellPadding,
- Decoration? titleDecoration,
- Decoration? rowDecoration,
- TableBorder? tableBorder,
- bool showZebraCrossing = true,
- (Color, Color) zebraCrossingColor = (Colors.white, const Color(0xfff5f5f5)),
- Radius zebraCrossingRadius = const Radius.circular(12),
- Widget builderSortWidget(
- BuildContext context,
- StickyTableColumn<
T> title
Implementation
const StickyTable({
super.key,
required this.data,
required this.columns,
this.titleHeight = 58,
this.cellHeight = 58,
this.cellDecoration,
this.defaultColumnWidth = const FixedColumnWidth(120),
this.cellPadding,
this.titleDecoration,
this.rowDecoration,
this.tableBorder,
this.showZebraCrossing = true,
this.zebraCrossingColor = (Colors.white, const Color(0xfff5f5f5)),
this.zebraCrossingRadius = const Radius.circular(12),
this.builderSortWidget,
});