toMixedRichText method

RichText toMixedRichText({
  1. TextStyle? baseStyle,
  2. TextStyle? boldStyle,
  3. TextStyle? italicStyle,
  4. TextStyle? underlineStyle,
  5. TextStyle? strikethroughStyle,
  6. TextStyle? codeStyle,
})

Converts mixed markdown/WhatsApp-style text to RichText

Implementation

RichText toMixedRichText({
  TextStyle? baseStyle,
  TextStyle? boldStyle,
  TextStyle? italicStyle,
  TextStyle? underlineStyle,
  TextStyle? strikethroughStyle,
  TextStyle? codeStyle,
}) {
  return DanUITextConverter.convertMixedStyleToRichText(
    this,
    baseStyle: baseStyle,
    boldStyle: boldStyle,
    italicStyle: italicStyle,
    underlineStyle: underlineStyle,
    strikethroughStyle: strikethroughStyle,
    codeStyle: codeStyle,
  );
}