HighlightStyle class
Class creates color scheme for highlighting mistakes
Constructors
- HighlightStyle({Color misspellingMistakeColor = Colors.red, Color typographicalMistakeColor = Colors.green, Color grammarMistakeColor = Colors.amber, Color uncategorizedMistakeColor = Colors.blue, Color nonConformanceMistakeColor = Colors.greenAccent, Color styleMistakeColor = Colors.deepPurpleAccent, Color otherMistakeColor = Colors.white60, double backgroundOpacity = _initialBackgroundOpacity, double mistakeLineThickness = _initialLineHeight, TextDecoration decoration = TextDecoration.underline})
-
Color scheme constructor
const
Properties
- backgroundOpacity → double
-
background opacity for mistake TextSpan
final
- decoration → TextDecoration
-
Mistaken text decoration style
final
- grammarMistakeColor → Color
-
Typographical mistake highlight color
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- misspellingMistakeColor → Color
-
Misspelling mistake highlight color
final
- mistakeLineThickness → double
-
mistake TextSpan underline thickness
final
- nonConformanceMistakeColor → Color
-
NonConformance mistake highlight color
final
- otherMistakeColor → Color
-
Other mistake highlight color
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleMistakeColor → Color
-
Style mistake highlight color
final
- typographicalMistakeColor → Color
-
Misspelling mistake highlight color
final
- uncategorizedMistakeColor → Color
-
Uncategorized mistake highlight color
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.
inherited