ReportMaker constructor

const ReportMaker({
  1. Key? key,
  2. double? cellWidth = 100,
  3. double? bodyCellHeight = 35,
  4. double? headerHeight = 30,
  5. double? textSize = 12,
  6. double? headerTextSize = 13,
  7. required List<HeaderCell> headers,
  8. required List<SubHeaderCell> subHeaders,
  9. required List<TextCell> leftColumn,
  10. required List<List<TextCell>> tableData,
  11. String stickyHeaderLabel = "Header",
  12. Color stickyHeaderBackgroundColor = Colors.blue,
  13. Color stickyHeaderForegroundColor = Colors.white,
})

Implementation

const ReportMaker({
  super.key,
  this.cellWidth = 100,
  this.bodyCellHeight = 35,
  this.headerHeight = 30,
  this.textSize = 12,
  this.headerTextSize = 13,
  required this.headers,
  required this.subHeaders,
  required this.leftColumn,
  required this.tableData,
  this.stickyHeaderLabel = "Header",
  this.stickyHeaderBackgroundColor = Colors.blue,
  this.stickyHeaderForegroundColor = Colors.white,
});