AnsiRendererOptions constructor
const
AnsiRendererOptions({
- int? width,
- bool hasDarkBackground = true,
- Style? textStyle,
- Style? h1Style,
- Style? h2Style,
- Style? h3Style,
- Style? h4Style,
- Style? h5Style,
- Style? h6Style,
- Style? emphasisStyle,
- Style? strongStyle,
- Style? codeStyle,
- Style? codeBlockStyle,
- Style? linkStyle,
- Style? blockquoteStyle,
- Color? blockquoteBorderColor,
- Style? strikethroughStyle,
- String bulletChar = '\u2022',
- bool hyperlinks = true,
- String hrChar = '\u2500',
- int? hrWidth,
- String checkboxChecked = '\u2611',
- String checkboxUnchecked = '\u2610',
- int listIndent = 2,
- bool codeBlockBorder = true,
- Border? tableBorder,
- Style? tableHeaderStyle,
- Style? tableCellStyle,
- Style? tableBorderStyle,
- bool syntaxHighlighting = true,
- ChromaTheme? syntaxTheme,
- Border? codeBlockBorderStyle,
Creates renderer options with the given settings.
Implementation
const AnsiRendererOptions({
this.width,
this.hasDarkBackground = true,
this.textStyle,
this.h1Style,
this.h2Style,
this.h3Style,
this.h4Style,
this.h5Style,
this.h6Style,
this.emphasisStyle,
this.strongStyle,
this.codeStyle,
this.codeBlockStyle,
this.linkStyle,
this.blockquoteStyle,
this.blockquoteBorderColor,
this.strikethroughStyle,
this.bulletChar = '\u2022',
this.hyperlinks = true,
this.hrChar = '\u2500',
this.hrWidth,
this.checkboxChecked = '\u2611',
this.checkboxUnchecked = '\u2610',
this.listIndent = 2,
this.codeBlockBorder = true,
this.tableBorder,
this.tableHeaderStyle,
this.tableCellStyle,
this.tableBorderStyle,
this.syntaxHighlighting = true,
this.syntaxTheme,
this.codeBlockBorderStyle,
});