HighlightStyle constructor
const
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
Implementation
const HighlightStyle({
this.misspellingMistakeColor = Colors.red,
this.typographicalMistakeColor = Colors.green,
this.grammarMistakeColor = Colors.amber,
this.uncategorizedMistakeColor = Colors.blue,
this.nonConformanceMistakeColor = Colors.greenAccent,
this.styleMistakeColor = Colors.deepPurpleAccent,
this.otherMistakeColor = Colors.white60,
this.backgroundOpacity = _initialBackgroundOpacity,
this.mistakeLineThickness = _initialLineHeight,
this.decoration = TextDecoration.underline,
});