OudsLabelText constructor

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

Creates an OudsLabelText.

Implementation

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