ReportDesignBuilder constructor
const
ReportDesignBuilder({
- Key? key,
- required List<
double> columnWidths, - required double cellWidth,
- required double leftColumnWidth,
- required double bodyCellHeight,
- required double headerHeight,
- required double textSize,
- required double headerTextSize,
- required List<
HeaderCell> headers, - required List<
SubHeaderCell> subHeaders, - required List<
ReportCell> leftColumn, - required List<
List< tableData,ReportCell> > - required String stickyHeaderLabel,
- required Color stickyHeaderBackgroundColor,
- required Color stickyHeaderForegroundColor,
- required bool enableDownload,
- required DownloadSuccessCallback? onDownloadCompleted,
- ReportController? controller,
Implementation
const ReportDesignBuilder({
super.key,
required this.columnWidths,
required this.cellWidth,
required this.leftColumnWidth,
required this.bodyCellHeight,
required this.headerHeight,
required this.textSize,
required this.headerTextSize,
required this.headers,
required this.subHeaders,
required this.leftColumn,
required this.tableData,
required this.stickyHeaderLabel,
required this.stickyHeaderBackgroundColor,
required this.stickyHeaderForegroundColor,
required this.enableDownload,
required this.onDownloadCompleted,
this.controller, // <-- Added here
});