OudsDisplayText constructor
- Key? key,
- required String text,
- Color? color,
- OudsDisplayTextSize size = OudsDisplayTextSize.large,
- int? maxLines,
- TextAlign? textAlign,
- TextOverflow? overflow,
- 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;