NrbTableEngine constructor

const NrbTableEngine({
  1. Key? key,
  2. double bodyCellHeight = 35,
  3. double headerRowHeight = 30,
  4. double textSize = 12,
  5. double headerTextSize = 13,
  6. int frozenColumnsCount = 1,
  7. required List<List<NrbHeaderCell>> headers,
  8. required List<List<ReportCell>> tableData,
  9. Color primaryUiColor = Colors.blue,
  10. Color primaryUiTextColor = Colors.white,
  11. bool enableDownload = false,
  12. bool showDownloadFloatingButton = true,
  13. String? packageName,
  14. String? apiKey,
  15. String? reportName,
  16. TableDownloadSuccessCallback? onDownloadCompleted,
  17. 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,
});