NrbTableEngineBuilder constructor

const NrbTableEngineBuilder({
  1. Key? key,
  2. required List<double> columnWidths,
  3. required List<double> headerHeights,
  4. required List<double> bodyRowHeights,
  5. required int frozenColumnsCount,
  6. required List<List<NrbHeaderCell>> headers,
  7. required List<List<ReportCell>> tableData,
  8. Color primaryUiColor = Colors.blue,
  9. Color primaryUiTextColor = Colors.white,
  10. bool enableDownload = false,
  11. bool showDownloadFloatingButton = true,
  12. String? packageName,
  13. String? apiKey,
  14. String? companyName,
  15. String? companyAddress,
  16. String? companyLogoAsset,
  17. String? reportName,
  18. TableDownloadSuccessCallback? onDownloadCompleted,
  19. ReportController? controller,
  20. required bool isSortingEnable,
})

Creates a NrbTableEngineBuilder to render the report data grid.

Implementation

const NrbTableEngineBuilder({
  super.key,
  required this.columnWidths,
  required this.headerHeights,
  required this.bodyRowHeights,
  required this.frozenColumnsCount,
  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.companyName,
  this.companyAddress,
  this.companyLogoAsset,
  this.reportName,
  this.onDownloadCompleted,
  this.controller,
  required this.isSortingEnable,
});