Is there an easy way to add custom `TextDecoration` to compose text? I’d like to have a dashed under...
t
Is there an easy way to add custom
TextDecoration
to compose text? I’d like to have a dashed underline. It seems like I have to go down deep into the text painter and customize it….
Here’s what i want to achieve
o
I do not think it is possible to add a custom
TextDecoration
🤔 I gurss you have to draw dashed lines manually based on text layout result. You could check https://github.com/saket/ExtendedSpans for an inspiration.
t
Thank you!