DocxText.bold constructor

const DocxText.bold(
  1. String content, {
  2. DocxColor? color,
  3. DocxHighlight highlight = DocxHighlight.none,
  4. String? shadingFill,
  5. double? fontSize,
  6. String? fontFamily,
  7. DocxFont? fonts,
  8. String? themeFill,
  9. String? themeFillTint,
  10. String? themeFillShade,
  11. String? id,
})

Bold text.

Implementation

const DocxText.bold(
  this.content, {
  this.color,
  this.highlight = DocxHighlight.none,
  this.shadingFill,
  this.fontSize,
  this.fontFamily,
  this.fonts,
  this.themeFill,
  this.themeFillTint,
  this.themeFillShade,
  super.id,
})  : fontWeight = DocxFontWeight.bold,
      fontStyle = DocxFontStyle.normal,
      decorations = const [],
      characterSpacing = null,
      href = null,
      themeColor = null,
      themeTint = null,
      themeShade = null,
      isSuperscript = false,
      isSubscript = false,
      isAllCaps = false,
      isSmallCaps = false,
      isDoubleStrike = false,
      isOutline = false,
      isShadow = false,
      isEmboss = false,
      isImprint = false,
      textBorder = null;