StyleData constructor
const
StyleData({
- bool bold = false,
- bool italic = false,
- bool underline = false,
- UnderlineStyle underlineStyle = UnderlineStyle.single,
- bool strikethrough = false,
- bool dim = false,
- bool inverse = false,
- bool blink = false,
- Color? foreground,
- Color? background,
- Color? borderForeground,
- Color? borderBackground,
- Color? borderTopForeground,
- Color? borderRightForeground,
- Color? borderBottomForeground,
- Color? borderLeftForeground,
- Color? borderTopBackground,
- Color? borderRightBackground,
- Color? borderBottomBackground,
- Color? borderLeftBackground,
- List<
Color> borderForegroundBlend = const [], - int borderForegroundBlendOffset = 0,
- int? width,
- int? height,
- int? maxWidth,
- int? maxHeight,
- Padding padding = Padding.zero,
- Margin margin = Margin.zero,
- HorizontalAlign align = HorizontalAlign.left,
- VerticalAlign alignVertical = VerticalAlign.top,
- Border? border,
- BorderSides borderSides = BorderSides.all,
- bool inline = false,
- bool wrapAnsi = false,
- String transform()?,
- String paddingChar = ' ',
- String marginChar = ' ',
- String whitespaceChar = ' ',
- Color? whitespaceForeground,
- String? stringValue,
- int tabWidth = 4,
- bool underlineSpaces = false,
- bool strikethroughSpaces = false,
- bool colorWhitespace = true,
- String? hyperlinkUrl,
- String hyperlinkParams = '',
- Color? marginBackground,
- Color? underlineColor,
Implementation
const StyleData({
this.bold = false,
this.italic = false,
this.underline = false,
this.underlineStyle = UnderlineStyle.single,
this.strikethrough = false,
this.dim = false,
this.inverse = false,
this.blink = false,
this.foreground,
this.background,
this.borderForeground,
this.borderBackground,
this.borderTopForeground,
this.borderRightForeground,
this.borderBottomForeground,
this.borderLeftForeground,
this.borderTopBackground,
this.borderRightBackground,
this.borderBottomBackground,
this.borderLeftBackground,
this.borderForegroundBlend = const [],
this.borderForegroundBlendOffset = 0,
this.width,
this.height,
this.maxWidth,
this.maxHeight,
this.padding = Padding.zero,
this.margin = Margin.zero,
this.align = HorizontalAlign.left,
this.alignVertical = VerticalAlign.top,
this.border,
this.borderSides = BorderSides.all,
this.inline = false,
this.wrapAnsi = false,
this.transform,
this.paddingChar = ' ',
this.marginChar = ' ',
this.whitespaceChar = ' ',
this.whitespaceForeground,
this.stringValue,
this.tabWidth = 4,
this.underlineSpaces = false,
this.strikethroughSpaces = false,
this.colorWhitespace = true,
this.hyperlinkUrl,
this.hyperlinkParams = '',
this.marginBackground,
this.underlineColor,
});