NrbTableEngine constructor

const NrbTableEngine({
  1. Key? key,
  2. double? bodyCellHeight,
  3. double? headerRowHeight,
  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,
  18. Map<int, double>? indexWiseColumnWidths,
  19. bool isSortingEnable = false,
})

Creates an NrbTableEngine which automatically handles dynamic column sizing.

Implementation

const NrbTableEngine({
  super.key,
  this.bodyCellHeight,
  this.headerRowHeight,
  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,
  this.indexWiseColumnWidths,
  this.isSortingEnable = false,
});