WordHighlight.byIndex constructor

WordHighlight.byIndex({
  1. required int? wordIndex,
  2. required TextStyle? wordStyle,
})

Highlight options Highlight the word by index

Implementation

WordHighlight.byIndex({required this.wordIndex, required this.wordStyle})
    : _highlightType = HighlightType.byIndex;