GptMarkdownThemeData class
Theme defined for GptMarkdown widget
- Inheritance
-
- Object
- ThemeExtension<
GptMarkdownThemeData> - GptMarkdownThemeData
Constructors
- GptMarkdownThemeData({required Brightness brightness, Color? highlightColor, TextStyle? h1, TextStyle? h2, TextStyle? h3, TextStyle? h4, TextStyle? h5, TextStyle? h6, double? hrLineThickness, Color? hrLineColor, EdgeInsets? hrLinePadding, Color? linkColor, Color? linkHoverColor, bool? autoAddDividerLineAfterH1, InlineCodeStyle? inlineCode, GptMarkdownStyleSheet? styleSheet})
-
A factory constructor for
GptMarkdownThemeData.factory
Properties
- autoAddDividerLineAfterH1 ↔ bool
-
Whether to insert a horizontal divider after
#(h1) headings.getter/setter pair - h1 ↔ TextStyle?
-
The style of the h1 text.
getter/setter pair
- h2 ↔ TextStyle?
-
The style of the h2 text.
getter/setter pair
- h3 ↔ TextStyle?
-
The style of the h3 text.
getter/setter pair
- h4 ↔ TextStyle?
-
The style of the h4 text.
getter/setter pair
- h5 ↔ TextStyle?
-
The style of the h5 text.
getter/setter pair
- h6 ↔ TextStyle?
-
The style of the h6 text.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightColor ↔ Color
-
The highlight color.
getter/setter pair
- hrLineColor ↔ Color
-
The color of the horizontal line.
getter/setter pair
- hrLinePadding ↔ EdgeInsets
-
Padding around horizontal rules and the h1 follow-up divider line.
getter/setter pair
- hrLineThickness ↔ double
-
getter/setter pair
- inlineCode ↔ InlineCodeStyle
-
How inline
codeis drawn.getter/setter pair - linkColor ↔ Color
-
The color of the link.
getter/setter pair
- linkHoverColor ↔ Color
-
The color of the link when hovering.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleSheet ↔ GptMarkdownStyleSheet
-
Per-component appearance for the whole app.
getter/setter pair
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{Color? highlightColor, TextStyle? h1, TextStyle? h2, TextStyle? h3, TextStyle? h4, TextStyle? h5, TextStyle? h6, double? hrLineThickness, Color? hrLineColor, EdgeInsets? hrLinePadding, Color? linkColor, Color? linkHoverColor, bool? autoAddDividerLineAfterH1, InlineCodeStyle? inlineCode, GptMarkdownStyleSheet? styleSheet}) → GptMarkdownThemeData -
A method to copy the
GptMarkdownThemeData.override -
isSame(
GptMarkdownThemeData other) → bool -
Whether every field matches
other. -
lerp(
covariant GptMarkdownThemeData? other, double t) → GptMarkdownThemeData -
Linearly interpolate with another ThemeExtension object.
override
-
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