StockholmTable constructor

const StockholmTable({
  1. required List<Widget> headerBuilder(
    1. BuildContext context
    ),
  2. required List<Widget> rowBuilder(
    1. BuildContext context,
    2. int row,
    3. bool selected
    ),
  3. required int rowCount,
  4. required int columnCount,
  5. required List<double> columnWidths,
  6. Color? backgroundColor,
  7. Color? altBackgroundColor,
  8. BoxDecoration? headerDecoration,
  9. int? selectedRow,
  10. bool selectableRows = true,
  11. ValueChanged<int?>? onSelectedRow,
  12. double cellHeight = 24.0,
  13. Key? key,
})

Implementation

const StockholmTable({
  required this.headerBuilder,
  required this.rowBuilder,
  required this.rowCount,
  required this.columnCount,
  required this.columnWidths,
  this.backgroundColor,
  this.altBackgroundColor,
  this.headerDecoration,
  this.selectedRow,
  this.selectableRows = true,
  this.onSelectedRow,
  this.cellHeight = 24.0,
  Key? key,
}) : super(key: key);