SText constructor

const SText(
  1. String text, {
  2. Key? key,
  3. bool? textWrap,
  4. TextStyle? style,
  5. double maxFontSize = 20,
  6. int? maxLines,
  7. TextAlign? textAlign,
  8. TextDirection? textDirection,
})

Implementation

const SText(
  this.text, {
  super.key,
  this.textWrap,
  this.style,
  this.maxFontSize = 20,
  this.maxLines,
  this.textAlign,
  this.textDirection,
});