OudsBodyText constructor

const OudsBodyText({
  1. Key? key,
  2. required String text,
  3. Color? color,
  4. OudsBodyTextSize size = OudsBodyTextSize.medium,
  5. OudsTextWeight weight = OudsTextWeight.defaultWeight,
  6. int? maxLines,
  7. TextAlign? textAlign,
  8. TextOverflow? overflow,
  9. bool? softWrap,
})

Creates an OudsBodyText.

Implementation

const OudsBodyText({
  super.key,
  required this.text,
  this.color,
  this.size = OudsBodyTextSize.medium,
  this.weight = OudsTextWeight.defaultWeight,
  this.maxLines,
  this.textAlign,
  this.overflow,
  this.softWrap,
}) : _annotatedText = null,
     onLinkTap = null;