ReportMaker constructor
const
ReportMaker({
- Key? key,
- double cellWidth = 100,
- double bodyCellHeight = 35,
- double headerHeight = 30,
- double textSize = 12,
- double headerTextSize = 13,
- required List<
HeaderCell> headers, - required List<
SubHeaderCell> subHeaders, - required List<
ReportCell> leftColumn, - required List<
List< tableData,ReportCell> > - String stickyHeaderLabel = "Header",
- Color stickyHeaderBackgroundColor = Colors.blue,
- Color stickyHeaderForegroundColor = Colors.white,
- bool enableDownload = true,
- DownloadSuccessCallback? onDownloadCompleted,
- ReportController? controller,
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,
this.enableDownload = true,
this.onDownloadCompleted,
this.controller, // <-- Added to constructor
});