OudsHeadingText constructor

const OudsHeadingText({
  1. Key? key,
  2. required String text,
  3. Color? color,
  4. OudsHeadingTextSize size = OudsHeadingTextSize.large,
  5. bool marker = true,
  6. int? maxLines,
  7. TextAlign? textAlign,
  8. TextOverflow? overflow,
  9. bool? softWrap,
})

Creates an OudsHeadingText.

Implementation

const OudsHeadingText({
  super.key,
  required this.text,
  this.color,
  this.size = OudsHeadingTextSize.large,
  this.marker = true,
  this.maxLines,
  this.textAlign,
  this.overflow,
  this.softWrap,
}) : _annotatedText = null;