Skip to content

Commit 50e4caf

Browse files
committed
Inherit all the other properties of the old ChildRichText
1 parent 9ec289e commit 50e4caf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/text_parser.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,14 @@ class TextParser extends StatelessWidget {
988988
return CleanRichText(
989989
TextSpan(
990990
text: childRichText.text,
991+
style: childRichText.style,
992+
recognizer: childRichText.recognizer,
993+
mouseCursor: childRichText.mouseCursor,
994+
onEnter: childRichText.onEnter,
995+
onExit: childRichText.onExit,
996+
semanticsLabel: childRichText.semanticsLabel,
997+
locale: childRichText.locale,
998+
spellOut: childRichText.spellOut,
991999
children: [
9921000
if (childRichText.children != null)
9931001
...childRichText.children!,

0 commit comments

Comments
 (0)