OudsDisplayText constructor

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

Creates an OudsDisplayText.

Implementation

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