HighlightItem constructor
HighlightItem({})
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");