Skip to content

Commit 09418a6

Browse files
committed
Run dart format
1 parent bbd8bad commit 09418a6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lib/src/builtins/styled_element_builtin.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,13 @@ class StyledElementBuiltIn extends HtmlExtension {
418418
if (child.attributes.containsKey("style")) {
419419
final newStyle = inlineCssToStyle(child.attributes["style"], null);
420420
if (newStyle != null) {
421-
styledElement.style = styledElement.style.merge(Style(textDecorationColor: newStyle.color));
421+
styledElement.style = styledElement.style
422+
.merge(Style(textDecorationColor: newStyle.color));
422423
}
423424
}
424425
}
425-
styledElement.style = styledElement.style.merge(Style(
426-
textDecoration: TextDecoration.underline
427-
));
426+
styledElement.style = styledElement.style
427+
.merge(Style(textDecoration: TextDecoration.underline));
428428
break;
429429
case "var":
430430
continue italics;

lib/src/style.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ class Style {
405405
textDecoration ?? TextDecoration.none,
406406
]),
407407
textDecorationColor: child.textDecorationColor ?? textDecorationColor,
408-
textDecorationThickness: child.textDecorationThickness ?? textDecorationThickness,
408+
textDecorationThickness:
409+
child.textDecorationThickness ?? textDecorationThickness,
409410
textDecorationStyle: child.textDecorationStyle ?? textDecorationStyle,
410411
textShadow: child.textShadow ?? textShadow,
411412
whiteSpace: child.whiteSpace ?? whiteSpace,

0 commit comments

Comments
 (0)