UEpubSpan constructor

const UEpubSpan({
  1. required String text,
  2. bool bold = false,
  3. bool italic = false,
  4. bool underline = false,
  5. bool strike = false,
  6. bool monospace = false,
  7. bool superscript = false,
  8. bool subscript = false,
  9. Color? color,
  10. Color? background,
  11. double sizeFactor = 1,
  12. String? href,
  13. String? anchorId,
  14. String? fontFamily,
})

Implementation

const UEpubSpan({
  required this.text,
  this.bold = false,
  this.italic = false,
  this.underline = false,
  this.strike = false,
  this.monospace = false,
  this.superscript = false,
  this.subscript = false,
  this.color,
  this.background,
  this.sizeFactor = 1,
  this.href,
  this.anchorId,
  this.fontFamily,
});