GptMarkdownThemeData class

Theme defined for GptMarkdown widget

Inheritance

Constructors

GptMarkdownThemeData.new({required Brightness brightness, Color? highlightColor, TextStyle? h1, TextStyle? h2, TextStyle? h3, TextStyle? h4, TextStyle? h5, TextStyle? h6, double? hrLineThickness, Color? hrLineColor, Color? linkColor, Color? linkHoverColor})
A factory constructor for GptMarkdownThemeData.
factory

Properties

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
hrLineThickness double
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
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, Color? linkColor, Color? linkHoverColor}) GptMarkdownThemeData
A method to copy the GptMarkdownThemeData.
override
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