FossText.body constructor
const
FossText.body(
- String data, {
- FossTextColor? color,
- TextAlign? textAlign,
- int? maxLines,
- TextOverflow? overflow,
- bool? softWrap,
- String? semanticsLabel,
- TextStyle? style,
- bool header = false,
- Key? key,
Body text: FossTextSize.sm, FossTextWeight.regular.
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;