TextCell constructor

const TextCell({
  1. Key? key,
  2. required dynamic value,
  3. required double width,
  4. TextAlign alignment = TextAlign.left,
  5. required Color backgroundColor,
  6. required Color textColor,
  7. required Color borderColor,
  8. bool isSelected = false,
  9. bool isTotalRow = false,
  10. Color? accentColor,
  11. bool supportsDrillDown = false,
  12. VoidCallback? onDrillDown,
  13. bool isFirstColumn = false,
})

Implementation

const TextCell({
  super.key,
  required this.value,
  required this.width,
  this.alignment = TextAlign.left,
  required this.backgroundColor,
  required this.textColor,
  required this.borderColor,
  this.isSelected = false,
  this.isTotalRow = false,
  this.accentColor,
  this.supportsDrillDown = false,
  this.onDrillDown,
  this.isFirstColumn = false,
});