MarkdownStyle constructor

const MarkdownStyle({
  1. TextStyle? textStyle,
  2. TextStyle? headline1,
  3. TextStyle? headline2,
  4. TextStyle? headline3,
  5. TextStyle? headline4,
  6. TextStyle? headline5,
  7. TextStyle? headline6,
  8. EdgeInsets? h1Padding = const EdgeInsets.only(bottom: 12),
  9. EdgeInsets? h2Padding = const EdgeInsets.only(bottom: 9),
  10. EdgeInsets? h3Padding = const EdgeInsets.only(bottom: 6),
  11. EdgeInsets? h4Padding = const EdgeInsets.only(bottom: 4),
  12. EdgeInsets? h5Padding = const EdgeInsets.only(bottom: 3),
  13. EdgeInsets? h6Padding = const EdgeInsets.only(bottom: 3),
  14. TextStyle? paragraph,
  15. EdgeInsets? paragraphPadding = const EdgeInsets.only(bottom: 12.0),
  16. TextStyle? blockquote,
  17. BoxDecoration? blockquoteDecoration,
  18. EdgeInsets? blockquotePadding,
  19. EdgeInsets? blockquoteContentPadding,
  20. BoxDecoration? footnoteReferenceDecoration,
  21. EdgeInsets? footnoteReferencePadding,
  22. Color? dividerColor,
  23. double? dividerHeight,
  24. double? dividerThickness,
  25. TextStyle? emphasis,
  26. TextStyle? strongEmphasis,
  27. TextStyle? highlight,
  28. TextStyle? strikethrough,
  29. TextStyle? subscript,
  30. TextStyle? superscript,
  31. TextStyle? kbd,
  32. TextStyle? footnote,
  33. TextStyle? footnoteReference,
  34. TextStyle? link,
  35. TextStyle? codeSpan,
  36. TextStyle? list,
  37. TextStyle? listItem,
  38. TextStyle? listItemMarker,
  39. double? listItemMarkerTrailingSpace,
  40. double? listItemMinIndent,
  41. TextStyle? checkbox,
  42. TextStyle? table,
  43. TextStyle? tableHead,
  44. TextStyle? tableBody,
  45. TableBorder? tableBorder,
  46. BoxDecoration? tableRowDecoration,
  47. MarkdownAlternating? tableRowDecorationAlternating,
  48. EdgeInsets? tableCellPadding,
  49. TableColumnWidth? tableColumnWidth,
  50. TextStyle? codeBlock,
  51. EdgeInsets? codeblockPadding,
  52. BoxDecoration? codeblockDecoration,
  53. double blockSpacing = 8.0,
  54. 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,
});