FossText.body constructor

const FossText.body(
  1. String data, {
  2. FossTextColor? color,
  3. TextAlign? textAlign,
  4. int? maxLines,
  5. TextOverflow? overflow,
  6. bool? softWrap,
  7. String? semanticsLabel,
  8. TextStyle? style,
  9. bool header = false,
  10. Key? key,
})

Implementation

const FossText.body(
  this.data, {
  this.color,
  this.textAlign,
  this.maxLines,
  this.overflow,
  this.softWrap,
  this.semanticsLabel,
  this.style,
  this.header = false,
  super.key,
}) : size = FossTextSize.sm,
     weight = FossTextWeight.regular;