RichTextSpan constructor

RichTextSpan(
  1. Object? text, {
  2. ColorToken? color,
  3. double? fontSize,
  4. bool bold = false,
  5. bool italic = false,
  6. bool underline = false,
  7. bool strikethrough = false,
  8. String? name,
})

Implementation

RichTextSpan(
  Object? text, {
  this.color,
  this.fontSize,
  this.bold = false,
  this.italic = false,
  this.underline = false,
  this.strikethrough = false,
  this.name,
}) : text = normalizeExpression(text);