Text.truncated constructor
const
Text.truncated(
- String data, {
- FontSize? size,
- FontWeight? weight,
- TextColor? color,
- TextAlign? textAlign,
- TextStyle? style,
- ArcaneStyleData? cssStyle,
- bool? softWrap,
- Key? key,
Implementation
const Text.truncated(
this.data, {
this.size,
this.weight,
this.color,
this.textAlign,
this.style,
this.cssStyle,
this.softWrap,
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';