We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d2060 commit 431aa4cCopy full SHA for 431aa4c
test/widgets/content_test.dart
@@ -96,6 +96,7 @@ void main() {
96
bool wrapWithScaffold = false,
97
bool wrapWithPerAccountStoreWidget = false,
98
bool wrapWithMessageContent = false,
99
+ TextStyle? defaultTextStyleOverride,
100
}) async {
101
Widget widget = BlockContentList(nodes: parseContent(html).nodes);
102
@@ -105,6 +106,11 @@ void main() {
105
106
content: parseContent(html));
107
}
108
109
+ if (defaultTextStyleOverride != null) {
110
+ widget = DefaultTextStyle(style: defaultTextStyleOverride,
111
+ child: widget);
112
+ }
113
+
114
if (wrapWithScaffold) {
115
widget = Scaffold(body: widget);
116
0 commit comments