StreamingTextTheme class

Theme extension for StreamingTextMarkdown widget

Inheritance

Constructors

StreamingTextTheme({TextStyle? textStyle, @Deprecated('Use markdownStyleSheet instead') TextStyle? markdownStyle, TextStyle? markdownStyleSheet, EdgeInsets? defaultPadding, TextStyle? inlineLatexStyle, TextStyle? blockLatexStyle, double? latexScale, bool? latexFadeInEnabled})
Creates a StreamingTextTheme
const
StreamingTextTheme.defaults(BuildContext context)
Creates a default theme with basic styling
factory

Properties

blockLatexStyle → TextStyle?
The style for block LaTeX expressions.
final
defaultPadding → EdgeInsets?
The default padding for the widget
final
hashCode → int
The hash code for this object.
no setterinherited
inlineLatexStyle → TextStyle?
The style for inline LaTeX expressions
final
latexFadeInEnabled → bool?
Whether to enable fade-in animations for LaTeX content.
final
latexScale → double?
Scale factor for LaTeX equations (default: 1.0).
final
markdownStyle → TextStyle?
The style for markdown content
final
markdownStyleSheet → TextStyle?
Style for markdown elements
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textStyle → TextStyle?
The style for normal text
final
type → Object
The extension's type.
no setterinherited

Methods

copyWith({TextStyle? textStyle, TextStyle? markdownStyle, TextStyle? markdownStyleSheet, EdgeInsets? defaultPadding, TextStyle? inlineLatexStyle, TextStyle? blockLatexStyle, double? latexScale, bool? latexFadeInEnabled}) → StreamingTextTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<StreamingTextTheme>? other, double t) → StreamingTextTheme
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