Text.truncated constructor

const Text.truncated(
  1. String text, {
  2. FontSize? size,
  3. FontWeight? weight,
  4. TextColor? color,
  5. TextAlign? align,
  6. ArcaneStyleData? style,
  7. Key? key,
})

Implementation

const Text.truncated(
  this.text, {
  this.size,
  this.weight,
  this.color,
  this.align,
  this.style,
  super.key,
})  : overflow = TextOverflow.ellipsis,
      whiteSpace = WhiteSpace.nowrap,
      maxLines = 1,
      lineHeight = null,
      letterSpacing = null,
      colorCustom = null,
      decoration = null,
      transform = null,
      family = null,
      fontStyle = null,
      selectable = true,
      element = 'span';