BackgroundTextSpan constructor
BackgroundTextSpan({
- TextStyle? style,
- required String text,
- GestureRecognizer? recognizer,
- required Paint background,
- BorderRadius? clipBorderRadius,
- PaintBackground? paintBackground,
- String? actualText,
- int start = 0,
- bool deleteAll = false,
- 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,
);