ScrollableTable<T> constructor
const
ScrollableTable<T> ({
- Key? key,
- Widget scrollViewWrapper(
- Widget child
- Widget tableWrapper(
- Widget child
- EdgeInsets? cellPadding,
- Widget? columnAppBar,
- Widget? columnBackground,
- EdgeInsets? columnCellPadding,
- double columnHeight = 48,
- Map<
int, double> ? columnWidths, - required List<
Widget> columns, - EdgeInsets? contentPadding,
- required double defaultColumnWidth,
- Widget? header,
- double? headerOffsetToHide,
- ScrollController? horizontalController,
- double initialMinScale = 1 / 2,
- double? initialScale,
- bool initialScaleFitToWidth = false,
- ValueNotifier<
bool> ? isLoading, - required List<
Widget> itemBuilder(- int index
- int? itemCount,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- Widget? loadingIndicator,
- double? paddingTopOnHeaderHide,
- ScrollPhysics? physics,
- double rowHeight = 48,
- ValueListenable<
List< ? rowsListenable,T> > - bool showStrokesIntoColumns = true,
- Color? strokeColor,
- double? strokeWidth,
- Widget? isEmptyBackground,
- EdgeInsets? tablePadding,
- ScrollController? verticalController,
Implementation
const ScrollableTable({
Key? key,
this.scrollViewWrapper,
this.tableWrapper,
this.cellPadding,
this.columnAppBar,
this.columnBackground,
this.columnCellPadding,
this.columnHeight = 48,
this.columnWidths,
required this.columns,
this.contentPadding,
required this.defaultColumnWidth,
this.footer,
this.footerOffsetToHide,
this.header,
this.headerOffsetToHide,
this.horizontalController,
this.initialMinScale = 1 / 2,
this.initialScale,
this.initialScaleFitToWidth = false,
this.isLoading,
required this.itemBuilder,
this.itemCount,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
this.loadingIndicator,
this.paddingTopOnHeaderHide,
this.physics,
this.rowHeight = 48,
this.rowsListenable,
this.showStrokesIntoColumns = true,
this.strokeColor,
this.strokeWidth,
this.isEmptyBackground,
this.tablePadding,
this.verticalController,
}) : super(key: key);