HighlightStyle constructor

const HighlightStyle({
  1. Color misspellingMistakeColor = Colors.red,
  2. Color typographicalMistakeColor = Colors.green,
  3. Color grammarMistakeColor = Colors.amber,
  4. Color uncategorizedMistakeColor = Colors.blue,
  5. Color nonConformanceMistakeColor = Colors.greenAccent,
  6. Color styleMistakeColor = Colors.deepPurpleAccent,
  7. Color otherMistakeColor = Colors.white60,
  8. double backgroundOpacity = _initialBackgroundOpacity,
  9. double mistakeLineThickness = _initialLineHeight,
  10. 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,
});