BackgroundTextSpan constructor

BackgroundTextSpan({
  1. TextStyle? style,
  2. required String text,
  3. GestureRecognizer? recognizer,
  4. required Paint background,
  5. BorderRadius? clipBorderRadius,
  6. PaintBackground? paintBackground,
  7. String? actualText,
  8. int start = 0,
  9. bool deleteAll = false,
  10. String? semanticsLabel,
})

Implementation

BackgroundTextSpan({
  TextStyle? style,
  required String text,
  GestureRecognizer? recognizer,
  required this.background,
  this.clipBorderRadius,
  this.paintBackground,
  String? actualText,
  int start = 0,
  bool deleteAll = false,
  String? semanticsLabel,
})  : _textPainterHelper = TextPainterHelper(),
      super(
        style: style,
        text: text,
        recognizer: recognizer,
        actualText: actualText,
        start: start,
        deleteAll: deleteAll,
        semanticsLabel: semanticsLabel,
      );