I have a problem with RichText
and TextSpan
widgets. All Text
widgets are affected by device font size (changed in settings) but RichText
not. Any ideas about to solve it?
I have solved it this way:
RichText(
textScaleFactor: MediaQuery.of(context).textScaleFactor, <--- add this
text: ...
)