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. NrbVerticalScrollBehavior verticalScrollBehavior = NrbVerticalScrollBehavior.internal,
  7. bool alwaysShowHorizontalScrollbar = kIsWeb,
  8. required List<List<NrbHeaderCell>> headers,
  9. required List<List<ReportCell>> tableData,
  10. Color primaryUiColor = Colors.blue,
  11. Color primaryUiTextColor = Colors.white,
  12. bool enableDownload = false,
  13. bool showDownloadFloatingButton = true,
  14. String? packageName,
  15. String? apiKey,
  16. String? companyName,
  17. String? companyAddress,
  18. String? companyLogoAsset,
  19. String? reportName,
  20. TableDownloadSuccessCallback? onDownloadCompleted,
  21. ReportController? controller,
  22. 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,
  this.verticalScrollBehavior = NrbVerticalScrollBehavior.internal,
  this.alwaysShowHorizontalScrollbar = kIsWeb,
  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,
});