Text.truncated constructor
const
Text.truncated(
- String text, {
- FontSize? size,
- FontWeight? weight,
- TextColor? color,
- TextAlign? align,
- ArcaneStyleData? style,
- 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';