RunFormat constructor
const
RunFormat({
- bool bold = false,
- bool italic = false,
- UnderlineStyle underline = UnderlineStyle.none,
- bool strike = false,
- bool doubleStrike = false,
- int? color,
- int? highlight,
- int? fill,
- double size = 11,
- String? font,
- VerticalTextPosition verticalPosition = VerticalTextPosition.baseline,
- bool allCaps = false,
- bool smallCaps = false,
- double letterSpacing = 0,
Run formatting; the defaults are plain 11-point text.
Implementation
const RunFormat({
this.bold = false,
this.italic = false,
this.underline = UnderlineStyle.none,
this.strike = false,
this.doubleStrike = false,
this.color,
this.highlight,
this.fill,
this.size = 11,
this.font,
this.verticalPosition = VerticalTextPosition.baseline,
this.allCaps = false,
this.smallCaps = false,
this.letterSpacing = 0,
});