MarkdownStyledWidgetStyles class

Constructors

MarkdownStyledWidgetStyles.new({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
final
blockquoteBorderColor Color
final
blockquoteBorderSize double
final
blockquoteFont String
final
blockquoteForeground Color
final
blockquotePadding double
final
blockquoteSize double
final
boldForeground Color
final
boldWeight FontWeight
final
codeBackground Color
final
codeBorderRadius double
final
codeFont String
final
codeForeground Color
final
codePadding double
final
codeWeight FontWeight
final
defaultFont String
final
defaultForeground Color
final
defaultWeight FontWeight
final
fontSize double
final
hashCode int
The hash code for this object.
no setterinherited
heading1Line bool
final
heading1Size double
final
heading1Weight FontWeight
final
heading2Line bool
final
heading2Size double
final
heading2Weight FontWeight
final
heading3Line bool
final
heading3Size double
final
heading3Weight FontWeight
final
heading4Line bool
final
heading4Size double
final
heading4Weight FontWeight
final
heading5Line bool
final
heading5Size double
final
heading5Weight FontWeight
final
heading6Line bool
final
heading6Size double
final
heading6Weight FontWeight
final
lineColor Color
final
lineHeight double
final
linkForeground Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceSize double
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