HighlightWord constructor

const HighlightWord(
  1. String word, {
  2. VoidCallback? onTap,
  3. TextStyle? highlightStyle,
})

Implementation

const HighlightWord(this.word,  {this.onTap,this.highlightStyle});