ScrollableTable<T> constructor

const ScrollableTable<T>({
  1. Key? key,
  2. Widget scrollViewWrapper(
    1. Widget child
    )?,
  3. Widget tableWrapper(
    1. Widget child
    )?,
  4. EdgeInsets? cellPadding,
  5. Widget? columnAppBar,
  6. Widget? columnBackground,
  7. EdgeInsets? columnCellPadding,
  8. double columnHeight = 48,
  9. Map<int, double>? columnWidths,
  10. required List<Widget> columns,
  11. EdgeInsets? contentPadding,
  12. required double defaultColumnWidth,
  13. Widget? footer,
  14. double? footerOffsetToHide,
  15. Widget? header,
  16. double? headerOffsetToHide,
  17. ScrollController? horizontalController,
  18. double initialMinScale = 1 / 2,
  19. double? initialScale,
  20. bool initialScaleFitToWidth = false,
  21. ValueNotifier<bool>? isLoading,
  22. required List<Widget> itemBuilder(
    1. int index
    ),
  23. int? itemCount,
  24. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  25. Widget? loadingIndicator,
  26. double? paddingTopOnHeaderHide,
  27. ScrollPhysics? physics,
  28. double rowHeight = 48,
  29. ValueListenable<List<T>>? rowsListenable,
  30. bool showStrokesIntoColumns = true,
  31. Color? strokeColor,
  32. double? strokeWidth,
  33. Widget? isEmptyBackground,
  34. EdgeInsets? tablePadding,
  35. 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);