NumericDataCell constructor

const NumericDataCell({
  1. Key? key,
  2. required dynamic value,
  3. required ColumnConfig column,
  4. required Map<String, dynamic> rowData,
  5. required double width,
  6. double? height,
  7. required Color backgroundColor,
  8. required Color textColor,
  9. required Color borderColor,
  10. bool isDarkMode = false,
  11. bool isSelected = false,
  12. bool isTotalRow = false,
  13. Color? accentColor,
  14. bool supportsDrillDown = false,
  15. bool showDrillDownIcon = true,
  16. VoidCallback? onDrillDown,
  17. bool isFirstColumn = false,
  18. bool isReadOnly = false,
  19. bool enableLineHeightAdjustment = false,
  20. CellHighlightConfig? highlight,
  21. CellBorders? highlightBorders,
  22. bool wordWrap = true,
})

Implementation

const NumericDataCell({
  super.key,
  required this.value,
  required this.column,
  required this.rowData,
  required this.width,
  this.height, // Optional height
  required this.backgroundColor,
  required this.textColor,
  required this.borderColor,
  this.isDarkMode = false,
  this.isSelected = false,
  this.isTotalRow = false,
  this.accentColor,
  this.supportsDrillDown = false,
  this.showDrillDownIcon = true,
  this.onDrillDown,
  this.isFirstColumn = false,
  this.isReadOnly = false,
  this.enableLineHeightAdjustment = false,
  this.highlight,
  this.highlightBorders,
  this.wordWrap = true,
});