|
|
@ -308,7 +308,7 @@ class _TextLineState extends State<TextLine> { |
|
|
|
if (k == Attribute.underline.key || k == Attribute.strikeThrough.key) { |
|
|
|
if (k == Attribute.underline.key || k == Attribute.strikeThrough.key) { |
|
|
|
var textColor = defaultStyles.color; |
|
|
|
var textColor = defaultStyles.color; |
|
|
|
if (color?.value is String) { |
|
|
|
if (color?.value is String) { |
|
|
|
textColor = stringToColor(color?.value); |
|
|
|
textColor = stringToColor(color?.value, textColor); |
|
|
|
} |
|
|
|
} |
|
|
|
res = _merge(res.copyWith(decorationColor: textColor), |
|
|
|
res = _merge(res.copyWith(decorationColor: textColor), |
|
|
|
s!.copyWith(decorationColor: textColor)); |
|
|
|
s!.copyWith(decorationColor: textColor)); |
|
|
|