FleatherThemeData class
Constructors
- FleatherThemeData({required TextStyle bold, required TextStyle italic, required TextStyle underline, required TextStyle strikethrough, required InlineCodeThemeData inlineCode, required TextStyle link, required TextBlockTheme paragraph, required TextBlockTheme heading1, required TextBlockTheme heading2, required TextBlockTheme heading3, required TextBlockTheme heading4, required TextBlockTheme heading5, required TextBlockTheme heading6, required TextBlockTheme lists, required TextBlockTheme quote, required TextBlockTheme code, required HorizontalRuleThemeData horizontalRule, StrutStyle? strutStyle})
- FleatherThemeData.fallback(BuildContext context)
-
factory
Properties
- bold → TextStyle
-
Style of bold text.
final
- code → TextBlockTheme
-
Style theme for code blocks.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading1 → TextBlockTheme
-
Style theme for level 1 headings.
final
- heading2 → TextBlockTheme
-
Style theme for level 2 headings.
final
- heading3 → TextBlockTheme
-
Style theme for level 3 headings.
final
- heading4 → TextBlockTheme
-
Style theme for level 4 headings.
final
- heading5 → TextBlockTheme
-
Style theme for level 5 headings.
final
- heading6 → TextBlockTheme
-
Style theme for level 6 headings.
final
- horizontalRule → HorizontalRuleThemeData
-
Style theme for horizontal rule.
final
- inlineCode → InlineCodeThemeData
-
Theme of inline code.
final
- italic → TextStyle
-
Style of italic text.
final
- link → TextStyle
-
Style of links in text.
final
- lists → TextBlockTheme
-
Style theme for bullet and number lists.
final
- paragraph → TextBlockTheme
-
Default style theme for regular paragraphs of text.
final
- quote → TextBlockTheme
-
Style theme for quote blocks.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strikethrough → TextStyle
-
Style of strikethrough text.
final
- strutStyle → StrutStyle?
-
Strut style
final
- underline → TextStyle
-
Style of underline text.
final
Methods
-
copyWith(
{TextStyle? bold, TextStyle? italic, TextStyle? underline, TextStyle? strikethrough, TextStyle? link, InlineCodeThemeData? inlineCode, TextBlockTheme? paragraph, TextBlockTheme? heading1, TextBlockTheme? heading2, TextBlockTheme? heading3, TextBlockTheme? heading4, TextBlockTheme? heading5, TextBlockTheme? heading6, TextBlockTheme? lists, TextBlockTheme? quote, TextBlockTheme? code, HorizontalRuleThemeData? horizontalRuleThemeData, StrutStyle? strutStyle}) → FleatherThemeData -
merge(
FleatherThemeData other) → FleatherThemeData -
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