Text constructor
const
Text(
- String text, {
- FontSize? size,
- FontWeight? weight,
- TextColor? color,
- String? colorCustom,
- TextAlign? align,
- LineHeight? lineHeight,
- LetterSpacing? letterSpacing,
- TextDecoration? decoration,
- TextTransform? transform,
- FontFamily? family,
- FontStyle? fontStyle,
- TextOverflow? overflow,
- WhiteSpace? whiteSpace,
- int? maxLines,
- bool selectable = true,
- ArcaneStyleData? style,
- String element = 'span',
- Key? key,
Implementation
const Text(
this.text, {
this.size,
this.weight,
this.color,
this.colorCustom,
this.align,
this.lineHeight,
this.letterSpacing,
this.decoration,
this.transform,
this.family,
this.fontStyle,
this.overflow,
this.whiteSpace,
this.maxLines,
this.selectable = true,
this.style,
this.element = 'span',
super.key,
});