MultiHighLightText constructor

const MultiHighLightText({
  1. Key? key,
  2. required String text,
  3. required TextStyle textStyle,
  4. List<HighlightItem>? highlights,
  5. MixStyleBuilder? onMixStyleBuilder,
  6. DecorateTextSpanBuilder? onDecorateTextSpanBuilder,
  7. int? maxLines,
  8. TextOverflow overflow = TextOverflow.clip,
})

Implementation

const MultiHighLightText({
  Key? key,
  required this.text,
  required this.textStyle,
  this.highlights,
  this.onMixStyleBuilder,
  this.onDecorateTextSpanBuilder,
  this.maxLines,
  this.overflow = TextOverflow.clip,
}) : super(key: key);