File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ class CssBoxWidget extends StatelessWidget {
110
110
111
111
return ClickableRichText (
112
112
text: TextSpan (
113
- style: style.generateTextStyle (). copyWith (background : Paint ()..color = Colors .yellow) ,
113
+ style: style.generateTextStyle (),
114
114
children: children,
115
115
),
116
116
textAlign: style.textAlign ?? TextAlign .start,
@@ -134,7 +134,7 @@ class CssBoxWidget extends StatelessWidget {
134
134
return ClickableRichText (
135
135
text: TextSpan (
136
136
text: style.marker! .content.replacementContent! ,
137
- style: style.marker! .style? .generateTextStyle (). copyWith (background : Paint ()..color = Colors .green) ,
137
+ style: style.marker! .style? .generateTextStyle (),
138
138
),
139
139
);
140
140
}
@@ -149,7 +149,7 @@ class CssBoxWidget extends StatelessWidget {
149
149
if (style.marker? .content.replacementContent? .isNotEmpty ?? false ) {
150
150
return TextSpan (
151
151
text: style.marker! .content.replacementContent! ,
152
- style: style.marker! .style? .generateTextStyle (). copyWith (background : Paint ()..color = Colors .red) ,
152
+ style: style.marker! .style? .generateTextStyle (),
153
153
);
154
154
}
155
155
}
You can’t perform that action at this time.
0 commit comments