MarkdownTheme constructor
const
MarkdownTheme({
- Color headingColor = Colors.white,
- Color bodyColor = const Color(0xFFD4D4D4),
- Color codeBackground = const Color(0xFF1E1E1E),
- Color codeColor = const Color(0xFFCE9178),
- Color inlineCodeBackground = const Color(0xFF2D2D2D),
- Color inlineCodeColor = const Color(0xFFCE9178),
- Color linkColor = const Color(0xFF4FC3F7),
- Color blockquoteBorder = const Color(0xFF616161),
- Color blockquoteBackground = const Color(0xFF1A1A1A),
- Color tableBorder = const Color(0xFF424242),
- Color tableHeaderBackground = const Color(0xFF2D2D2D),
- Color hrColor = const Color(0xFF424242),
- Color noteColor = const Color(0xFF4FC3F7),
- Color warningColor = const Color(0xFFFFB74D),
- Color tipColor = const Color(0xFF81C784),
- Color cautionColor = const Color(0xFFE57373),
- 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),
});