NrbTableEngine constructor
const
NrbTableEngine({
- Key? key,
- double bodyCellHeight = 35,
- double headerRowHeight = 30,
- double textSize = 12,
- double headerTextSize = 13,
- int frozenColumnsCount = 1,
- required List<
List< headers,NrbHeaderCell> > - required List<
List< tableData,ReportCell> > - Color primaryUiColor = Colors.blue,
- Color primaryUiTextColor = Colors.white,
- bool enableDownload = false,
- bool showDownloadFloatingButton = true,
- String? packageName,
- String? apiKey,
- String? reportName,
- TableDownloadSuccessCallback? onDownloadCompleted,
- ReportController? controller,
Creates an NrbTableEngine which automatically handles dynamic column sizing.
Implementation
const NrbTableEngine({
super.key,
this.bodyCellHeight = 35,
this.headerRowHeight = 30,
this.textSize = 12,
this.headerTextSize = 13,
this.frozenColumnsCount = 1,
required this.headers,
required this.tableData,
this.primaryUiColor = Colors.blue,
this.primaryUiTextColor = Colors.white,
this.enableDownload = false,
this.showDownloadFloatingButton = true,
this.packageName,
this.apiKey,
this.reportName,
this.onDownloadCompleted,
this.controller,
});