HorizontalTableAdapter constructor

const HorizontalTableAdapter({
  1. Key? key,
  2. required List<Widget> headerWidgets,
  3. required List<Widget> rowBuilder(
    1. BuildContext context,
    2. int rowIndex
    ),
  4. required List<double> columnWidths,
  5. int frozenColumnCount = 0,
  6. required int rowCount,
  7. void onScrollControllersReady(
    1. ScrollController vertical,
    2. ScrollController horizontal
    )?,
  8. Color? leftSideBackgroundColor,
  9. Color? rightSideBackgroundColor,
  10. Color? headerBackgroundColor,
  11. double headerHeight = 56.0,
  12. double itemHeight = 52.0,
})

Implementation

const HorizontalTableAdapter({
  super.key,
  required this.headerWidgets,
  required this.rowBuilder,
  required this.columnWidths,
  this.frozenColumnCount = 0,
  required this.rowCount,
  this.onScrollControllersReady,
  this.leftSideBackgroundColor,
  this.rightSideBackgroundColor,
  this.headerBackgroundColor,
  this.headerHeight = 56.0,
  this.itemHeight = 52.0,
});