Does anyone know of a good way of providing different styles for different lines of text in an
TextField
. I have a sort of working solution using a custom
VisualTransformation
however trying to see if there is a different way of achieving this.
Abhishek Dewan
12/28/2021, 6:25 PM
I've tried to replace the textStyle param in the TextField but that changes the fontWeight and color for all of the text (the minute the switch happens)
Abhishek Dewan
12/29/2021, 2:59 AM
Found a solution using annotated strings and span styles