CodeHighlightTheme class
The code syntax highlighting theme. We use Re-Highlight as the syntax highlighting rule. Re-Highlight provides some built-in syntax highlighting rules for dozens of programming languages, and many theme styles.
Please see Re-Highlight.
Constructors
-
CodeHighlightTheme({required Map<
String, CodeHighlightThemeMode> languages, required Map<String, TextStyle> theme}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
languages
→ Map<
String, CodeHighlightThemeMode> -
Supported syntax highlighting language rules.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
theme
→ Map<
String, TextStyle> -
The syntax highlighting style theme.
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.
override