Skip to content

Commit c677d20

Browse files
Fixed copying inherited styles. Added missing text-decoration* values.
1 parent 11814c1 commit c677d20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/style.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ class Style {
400400
child.textDecoration ?? TextDecoration.none,
401401
textDecoration ?? TextDecoration.none,
402402
]),
403+
textDecorationStyle: child.textDecorationStyle ?? textDecorationStyle,
404+
textDecorationColor: child.textDecorationColor ?? textDecorationColor,
403405
textShadow: child.textShadow ?? textShadow,
404406
whiteSpace: child.whiteSpace ?? whiteSpace,
405407
wordSpacing: child.wordSpacing ?? wordSpacing,

0 commit comments

Comments
 (0)