HighlightItem constructor

HighlightItem({
  1. TextRange? range,
  2. String? text,
  3. required TextStyle textStyle,
  4. dynamic customConfig,
})

Implementation

HighlightItem(
    {this.range, this.text, required this.textStyle, this.customConfig})
    : assert(text != null || range != null,
          "requires at least one condition under which highlighting can be determined");