BasicTableCellText constructor

const BasicTableCellText(
  1. String text, {
  2. EdgeInsets? padding,
  3. AlignmentGeometry? align,
  4. Color? background,
  5. TextAlign? textAlign,
  6. TextOverflow? textOverflow,
  7. TextStyle? textStyle,
  8. Key? key,
})

Implementation

const BasicTableCellText(
  String text, {
  super.padding,
  super.align,
  super.background,
  TextAlign? textAlign,
  TextOverflow? textOverflow,
  TextStyle? textStyle,
  super.key,
})  : _text = text,
      _textAlign = textAlign,
      _textOverflow = textOverflow ?? TextOverflow.ellipsis,
      _textStyle = textStyle;