TextCell<T> constructor

const TextCell<T>({
  1. Key? key,
  2. required T itemContent,
  3. String itemToString(
    1. T
    )?,
  4. double? cellWidth,
  5. double? cellHeight,
  6. double? textSize,
  7. AlignmentGeometry? textAlignment = Alignment.center,
  8. Color? backgroundColor = Colors.white,
  9. Color? textColor = Colors.black,
  10. Color? borderColor = Colors.black12,
  11. bool isBold = false,
  12. bool isItalic = false,
  13. bool isUnderline = false,
  14. void onTap(
    1. T
    )?,
})

Implementation

const TextCell({
  super.key,
  required this.itemContent,
  this.itemToString,
  this.cellWidth,
  this.cellHeight,
  this.textSize,
  this.textAlignment = Alignment.center,
  this.backgroundColor = Colors.white,
  this.textColor = Colors.black,
  this.borderColor = Colors.black12,
  this.isBold = false,
  this.isItalic = false,
  this.isUnderline = false,
  this.onTap,
});