RichLabel constructor

const RichLabel({
  1. Key? key,
  2. required String text,
  3. TextStyle? baseStyle,
  4. TextAlign textAlign = TextAlign.left,
  5. Map<String, RichLabelStyle>? matchedStrings,
  6. int? maxLines,
  7. TextOverflow? overflow,
  8. double borderWidth = 0,
  9. Color? borderColor,
})

Implementation

const RichLabel({
  super.key,
  required this.text,
  this.baseStyle,
  this.textAlign = TextAlign.left,
  this.matchedStrings,
  this.maxLines,
  this.overflow,
  this.borderWidth = 0,
  this.borderColor,
});