MarkdownStyledWidgetStyles class

Styles for MarkdownStyledWidget.

Constructors

MarkdownStyledWidgetStyles({double fontSize = 16, String defaultFont = 'packages/markdown_styled_widget/Roboto', FontWeight defaultWeight = FontWeight.normal, Color defaultForeground = Colors.black, FontWeight boldWeight = FontWeight.bold, Color boldForeground = Colors.black54, Color linkForeground = Colors.blueAccent, String blockquoteFont = 'packages/markdown_styled_widget/IbarraRealNova', double blockquoteSize = 16, Color blockquoteBackground = Colors.grey, Color blockquoteForeground = Colors.black54, Color blockquoteBorderColor = Colors.blueGrey, double blockquoteBorderSize = 10, double blockquotePadding = 10, Color codeBackground = Colors.black12, double codePadding = 10, double codeBorderRadius = 10, Color codeForeground = Colors.black87, String codeFont = 'packages/markdown_styled_widget/RobotoMono', FontWeight codeWeight = FontWeight.normal, double heading1Size = 32, bool heading1Line = true, FontWeight heading1Weight = FontWeight.w500, double heading2Size = 28, bool heading2Line = true, FontWeight heading2Weight = FontWeight.w500, double heading3Size = 24, bool heading3Line = false, FontWeight heading3Weight = FontWeight.w500, double heading4Size = 20, bool heading4Line = false, FontWeight heading4Weight = FontWeight.w500, double heading5Size = 16, bool heading5Line = false, FontWeight heading5Weight = FontWeight.w500, double heading6Size = 12, bool heading6Line = false, FontWeight heading6Weight = FontWeight.w500, double lineHeight = 1, Color lineColor = Colors.grey, double spaceSize = 10})
const

Properties

blockquoteBackground → Color
Background color for blockquotes.
final
blockquoteBorderColor → Color
Color of left border for blockquotes.
final
blockquoteBorderSize → double
Width of left border for blockquotes.
final
blockquoteFont → String
Font family for blockquotes.
final
blockquoteForeground → Color
Text color for blockquotes.
final
blockquotePadding → double
Padding size for blockquotes.
final
blockquoteSize → double
Font size for blockquotes.
final
boldForeground → Color
Color for bold text.
final
boldWeight → FontWeight
Weight for bold text.
final
codeBackground → Color
Background color for code statements.
final
codeBorderRadius → double
Border radius for multiline code statements.
final
codeFont → String
Font family for code statements.
final
codeForeground → Color
Text color for code statements.
final
codePadding → double
Padding size for code statements.
final
codeWeight → FontWeight
Font weight for code statements.
final
defaultFont → String
Default font family for text.
final
defaultForeground → Color
Default text color.
final
defaultWeight → FontWeight
Default weight for text.
final
fontSize → double
Default size of text.
final
hashCode → int
The hash code for this object.
no setterinherited
heading1Line → bool
The presence of a line after the level 1 title.
final
heading1Size → double
Font size for level 1 heading.
final
heading1Weight → FontWeight
Font weight for level 1 heading.
final
heading2Line → bool
The presence of a line after the level 2 title.
final
heading2Size → double
Font size for level 2 heading.
final
heading2Weight → FontWeight
Font weight for level 2 heading.
final
heading3Line → bool
The presence of a line after the level 3 title.
final
heading3Size → double
Font size for level 3 heading.
final
heading3Weight → FontWeight
Font weight for level 3 heading.
final
heading4Line → bool
The presence of a line after the level 4 title.
final
heading4Size → double
Font size for level 4 heading.
final
heading4Weight → FontWeight
Font weight for level 4 heading.
final
heading5Line → bool
The presence of a line after the level 5 title.
final
heading5Size → double
Font size for level 5 heading.
final
heading5Weight → FontWeight
Font weight for level 5 heading.
final
heading6Line → bool
The presence of a line after the level 6 title.
final
heading6Size → double
Font size for level 6 heading.
final
heading6Weight → FontWeight
Font weight for level 6 heading.
final
lineColor → Color
Color of separate line.
final
lineHeight → double
Height of separate line.
final
linkForeground → Color
Color for links view.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spaceSize → double
Distance between widgets.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited