Commit b8efd8f 1 parent 7afa126 commit b8efd8f Copy full SHA for b8efd8f
File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -98,17 +98,8 @@ class Linkify extends StatelessWidget {
98
98
linkifiers: linkifiers,
99
99
);
100
100
101
- return RichText (
102
- textAlign: textAlign,
103
- textDirection: textDirection,
104
- maxLines: maxLines,
105
- overflow: overflow,
106
- textScaleFactor: textScaleFactor,
107
- softWrap: softWrap,
108
- strutStyle: strutStyle,
109
- locale: locale,
110
- textWidthBasis: textWidthBasis,
111
- text: buildTextSpan (
101
+ return Text .rich (
102
+ buildTextSpan (
112
103
elements,
113
104
style: Theme .of (context).textTheme.bodyText2.merge (style),
114
105
onOpen: onOpen,
@@ -122,6 +113,15 @@ class Linkify extends StatelessWidget {
122
113
)
123
114
.merge (linkStyle),
124
115
),
116
+ textAlign: textAlign,
117
+ textDirection: textDirection,
118
+ maxLines: maxLines,
119
+ overflow: overflow,
120
+ textScaleFactor: textScaleFactor,
121
+ softWrap: softWrap,
122
+ strutStyle: strutStyle,
123
+ locale: locale,
124
+ textWidthBasis: textWidthBasis,
125
125
);
126
126
}
127
127
}
You can’t perform that action at this time.
0 commit comments