Skip to content

Commit 19799de

Browse files
committed
Version 0.10.0 + flutter format
1 parent 1b3506b commit 19799de

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/html_parser.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,12 +500,14 @@ class HtmlRichTextParser extends StatelessWidget {
500500
childStyle = childStyle.merge(TextStyle(fontSize: 10.0));
501501
break;
502502
case "mark":
503-
childStyle = childStyle.merge(TextStyle(backgroundColor: Colors.yellow, color: Colors.black));
503+
childStyle = childStyle.merge(
504+
TextStyle(backgroundColor: Colors.yellow, color: Colors.black));
504505
break;
505506
case "del":
506507
case "s":
507508
case "strike":
508-
childStyle = childStyle.merge(TextStyle(decoration: TextDecoration.lineThrough));
509+
childStyle = childStyle
510+
.merge(TextStyle(decoration: TextDecoration.lineThrough));
509511
break;
510512
case "ol":
511513
nextContext.indentLevel += 1;
@@ -672,7 +674,8 @@ class HtmlRichTextParser extends StatelessWidget {
672674
.add(TextSpan(text: '"', children: []));
673675
TextSpan content = TextSpan(text: '', children: []);
674676
parseContext.parentElement.children.add(content);
675-
parseContext.parentElement.children.add(TextSpan(text: '"', children: []));
677+
parseContext.parentElement.children
678+
.add(TextSpan(text: '"', children: []));
676679
nextContext.parentElement = content;
677680
}
678681
break;

0 commit comments

Comments
 (0)