Style used for rendering markdown formatted text using the MarkdownBody widget.

Inheritance

Constructors

MarkdownStyle.defaultFromTheme(ThemeData theme)

Creates a MarkdownStyle from the TextStyles in the provided theme.

MarkdownStyle.largeFromTheme(ThemeData theme)

Creates a MarkdownStyle from the TextStyles in the provided theme. This style uses larger fonts for the headings than in MarkdownStyle.defaultFromTheme.

Properties

a TextStyle

read-only, inherited
blockquote TextStyle

read-only, inherited
blockquoteDecoration BoxDecoration

read-only, inherited
blockquotePadding double

read-only, inherited
blockSpacing double

read-only, inherited
code TextStyle

read-only, inherited
codeblockDecoration BoxDecoration

read-only, inherited
codeblockPadding double

read-only, inherited
em TextStyle

read-only, inherited
h1 TextStyle

read-only, inherited
h2 TextStyle

read-only, inherited
h3 TextStyle

read-only, inherited
h4 TextStyle

read-only, inherited
h5 TextStyle

read-only, inherited
h6 TextStyle

read-only, inherited
hashCode int

Get a hash code for this object.

read-only, inherited
listIndent double

read-only, inherited
p TextStyle

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
strong TextStyle

read-only, inherited
styles Map<String, TextStyle>

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

copyWith({TextStyle a, TextStyle p, TextStyle code, TextStyle h1, TextStyle h2, TextStyle h3, TextStyle h4, TextStyle h5, TextStyle h6, TextStyle em, TextStyle strong, TextStyle blockquote, double blockSpacing, double listIndent, double blockquotePadding, BoxDecoration blockquoteDecoration, double codeblockPadding, BoxDecoration codeblockDecoration }) MarkdownStyleRaw

Creates a new MarkdownStyleRaw based on the current style, with the provided parameters overridden.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited