SoftUiText constructor
const
SoftUiText(
- String text, {
- SoftUiTextStyles style = SoftUiTextStyles.bodyMedium,
- TextDecoration decoration = TextDecoration.none,
- bool isAutoScroll = false,
- bool isOverflowed = true,
- TextAlign textAlign = TextAlign.start,
- int maxLines = 1,
- Color? color,
- FontWeight? weight,
- Key? key,
Implementation
const SoftUiText(
this.text, {
this.style = SoftUiTextStyles.bodyMedium,
this.decoration = TextDecoration.none,
this.isAutoScroll = false,
this.isOverflowed = true,
this.textAlign = TextAlign.start,
this.maxLines = 1,
this.color,
this.weight,
super.key,
});