MarkdownStyle constructor
const
MarkdownStyle({
- TextStyle? textStyle,
- TextStyle? headline1,
- TextStyle? headline2,
- TextStyle? headline3,
- TextStyle? headline4,
- TextStyle? headline5,
- TextStyle? headline6,
- EdgeInsets? h1Padding = const EdgeInsets.only(bottom: 12),
- EdgeInsets? h2Padding = const EdgeInsets.only(bottom: 9),
- EdgeInsets? h3Padding = const EdgeInsets.only(bottom: 6),
- EdgeInsets? h4Padding = const EdgeInsets.only(bottom: 4),
- EdgeInsets? h5Padding = const EdgeInsets.only(bottom: 3),
- EdgeInsets? h6Padding = const EdgeInsets.only(bottom: 3),
- TextStyle? paragraph,
- EdgeInsets? paragraphPadding = const EdgeInsets.only(bottom: 12.0),
- TextStyle? blockquote,
- BoxDecoration? blockquoteDecoration,
- EdgeInsets? blockquotePadding,
- EdgeInsets? blockquoteContentPadding,
- BoxDecoration? footnoteReferenceDecoration,
- EdgeInsets? footnoteReferencePadding,
- Color? dividerColor,
- double? dividerHeight,
- double? dividerThickness,
- TextStyle? emphasis,
- TextStyle? strongEmphasis,
- TextStyle? highlight,
- TextStyle? strikethrough,
- TextStyle? subscript,
- TextStyle? superscript,
- TextStyle? kbd,
- TextStyle? footnote,
- TextStyle? footnoteReference,
- TextStyle? link,
- TextStyle? codeSpan,
- TextStyle? list,
- TextStyle? listItem,
- TextStyle? listItemMarker,
- double? listItemMarkerTrailingSpace,
- double? listItemMinIndent,
- TextStyle? checkbox,
- TextStyle? table,
- TextStyle? tableHead,
- TextStyle? tableBody,
- TableBorder? tableBorder,
- BoxDecoration? tableRowDecoration,
- MarkdownAlternating? tableRowDecorationAlternating,
- EdgeInsets? tableCellPadding,
- TableColumnWidth? tableColumnWidth,
- TextStyle? codeBlock,
- EdgeInsets? codeblockPadding,
- BoxDecoration? codeblockDecoration,
- double blockSpacing = 8.0,
- Color? copyIconColor,
Implementation
const MarkdownStyle({
this.textStyle,
this.headline1,
this.headline2,
this.headline3,
this.headline4,
this.headline5,
this.headline6,
this.h1Padding = const EdgeInsets.only(bottom: 12),
this.h2Padding = const EdgeInsets.only(bottom: 9),
this.h3Padding = const EdgeInsets.only(bottom: 6),
this.h4Padding = const EdgeInsets.only(bottom: 4),
this.h5Padding = const EdgeInsets.only(bottom: 3),
this.h6Padding = const EdgeInsets.only(bottom: 3),
this.paragraph,
this.paragraphPadding = const EdgeInsets.only(bottom: 12.0),
this.blockquote,
this.blockquoteDecoration,
this.blockquotePadding,
this.blockquoteContentPadding,
this.footnoteReferenceDecoration,
this.footnoteReferencePadding,
this.dividerColor,
this.dividerHeight,
this.dividerThickness,
this.emphasis,
this.strongEmphasis,
this.highlight,
this.strikethrough,
this.subscript,
this.superscript,
this.kbd,
this.footnote,
this.footnoteReference,
this.link,
this.codeSpan,
this.list,
this.listItem,
this.listItemMarker,
this.listItemMarkerTrailingSpace,
this.listItemMinIndent,
this.checkbox,
this.table,
this.tableHead,
this.tableBody,
this.tableBorder,
this.tableRowDecoration,
this.tableRowDecorationAlternating,
this.tableCellPadding,
this.tableColumnWidth,
this.codeBlock,
this.codeblockPadding,
this.codeblockDecoration,
this.blockSpacing = 8.0,
this.copyIconColor,
});