MdcStyle constructor
const
MdcStyle({
- TextStyle? text,
- TextStyle? heading1,
- TextStyle? heading2,
- TextStyle? heading3,
- TextStyle? heading4,
- TextStyle? heading5,
- TextStyle? heading6,
- TextStyle? link,
- TextStyle? inlineCode,
- TextStyle? codeBlock,
- TextStyle? listMarker,
- TextStyle? blockquote,
- double blockSpacing = 16,
- EdgeInsetsGeometry codeBlockPadding = const EdgeInsets.all(16),
- EdgeInsetsGeometry blockquotePadding = const EdgeInsetsDirectional.only(start: 16),
- EdgeInsetsGeometry tableCellPadding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
- BoxDecoration? codeBlockDecoration,
- BoxDecoration? blockquoteDecoration,
- TableBorder? tableBorder,
Creates a set of optional MDC style overrides.
Implementation
const MdcStyle({
this.text,
this.heading1,
this.heading2,
this.heading3,
this.heading4,
this.heading5,
this.heading6,
this.link,
this.inlineCode,
this.codeBlock,
this.listMarker,
this.blockquote,
this.blockSpacing = 16,
this.codeBlockPadding = const EdgeInsets.all(16),
this.blockquotePadding = const EdgeInsetsDirectional.only(start: 16),
this.tableCellPadding = const EdgeInsets.symmetric(
horizontal: 12,
vertical: 8,
),
this.codeBlockDecoration,
this.blockquoteDecoration,
this.tableBorder,
});