How to extract all the styles applied to text field (annotated string span styles)?
➕ 1
t
tad
05/27/2022, 6:32 PM
Use the overload that takes a
TextFieldValue
Also, you are the one supplying the text, so you're the one building the AnnotatedString, correct?
r
raghunandan
05/28/2022, 4:24 AM
@tad yes i use colortransformation and use the annotated string there to color part of my text in text field. i want to construct text in a way that server wants. So want to get all spans styles on button click and format it.
I think i got the idea. Just have to put the pieces together.