HighlightedWordInPara constructor

HighlightedWordInPara({
  1. Key? key,
  2. required String text,
  3. required int? highlightStartIndex,
  4. required int? highlightEndIndex,
  5. required TextStyle highlightedWordStyle,
  6. required TextStyle nonHighlightedWordStyle,
  7. required dynamic wordPosition(
    1. double
    ),
  8. required ScrollController scrollController,
})

Implementation

HighlightedWordInPara({
  Key? key,
  required this.text,
  required this.highlightStartIndex,
  required this.highlightEndIndex,
  required this.highlightedWordStyle,
  required this.nonHighlightedWordStyle,
  required this.wordPosition,
  required this.scrollController,
}) : super(key: key);