SoftUiText constructor

const SoftUiText(
  1. String text, {
  2. SoftUiTextStyles style = SoftUiTextStyles.bodyMedium,
  3. TextDecoration decoration = TextDecoration.none,
  4. bool isAutoScroll = false,
  5. bool isOverflowed = true,
  6. TextAlign textAlign = TextAlign.start,
  7. int maxLines = 1,
  8. Color? color,
  9. FontWeight? weight,
  10. 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,
});