MarkdownTheme constructor

const MarkdownTheme({
  1. Color headingColor = Colors.white,
  2. Color bodyColor = const Color(0xFFD4D4D4),
  3. Color codeBackground = const Color(0xFF1E1E1E),
  4. Color codeColor = const Color(0xFFCE9178),
  5. Color inlineCodeBackground = const Color(0xFF2D2D2D),
  6. Color inlineCodeColor = const Color(0xFFCE9178),
  7. Color linkColor = const Color(0xFF4FC3F7),
  8. Color blockquoteBorder = const Color(0xFF616161),
  9. Color blockquoteBackground = const Color(0xFF1A1A1A),
  10. Color tableBorder = const Color(0xFF424242),
  11. Color tableHeaderBackground = const Color(0xFF2D2D2D),
  12. Color hrColor = const Color(0xFF424242),
  13. Color noteColor = const Color(0xFF4FC3F7),
  14. Color warningColor = const Color(0xFFFFB74D),
  15. Color tipColor = const Color(0xFF81C784),
  16. Color cautionColor = const Color(0xFFE57373),
  17. Color importantColor = const Color(0xFFBA68C8),
})

Implementation

const MarkdownTheme({
  this.headingColor = Colors.white,
  this.bodyColor = const Color(0xFFD4D4D4),
  this.codeBackground = const Color(0xFF1E1E1E),
  this.codeColor = const Color(0xFFCE9178),
  this.inlineCodeBackground = const Color(0xFF2D2D2D),
  this.inlineCodeColor = const Color(0xFFCE9178),
  this.linkColor = const Color(0xFF4FC3F7),
  this.blockquoteBorder = const Color(0xFF616161),
  this.blockquoteBackground = const Color(0xFF1A1A1A),
  this.tableBorder = const Color(0xFF424242),
  this.tableHeaderBackground = const Color(0xFF2D2D2D),
  this.hrColor = const Color(0xFF424242),
  this.noteColor = const Color(0xFF4FC3F7),
  this.warningColor = const Color(0xFFFFB74D),
  this.tipColor = const Color(0xFF81C784),
  this.cautionColor = const Color(0xFFE57373),
  this.importantColor = const Color(0xFFBA68C8),
});